Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 06-building-container-images/api-golang/Dockerfile.8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Pin specific version for stability
# Use separate stage for building image
# Use debian for easier build utilities
FROM golang:1.19-bullseye AS build-base
FROM golang:1.23-bullseye AS build-base

WORKDIR /app

Expand All @@ -16,7 +16,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM build-base AS dev

# Install air for hot reload & delve for debugging
RUN go install github.com/cosmtrek/air@latest && \
RUN go install github.com/air-verse/air@latest && \
go install github.com/go-delve/delve/cmd/dlv@latest

COPY . .
Expand Down