From dfb6888b2d20f731948ab0de9e065a59a60be4a5 Mon Sep 17 00:00:00 2001 From: brych126 Date: Mon, 17 Feb 2025 00:43:19 +0200 Subject: [PATCH] Fix command related to installing go hot reload tool --- 06-building-container-images/api-golang/Dockerfile.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/06-building-container-images/api-golang/Dockerfile.8 b/06-building-container-images/api-golang/Dockerfile.8 index d2b3d2c4..4658b893 100644 --- a/06-building-container-images/api-golang/Dockerfile.8 +++ b/06-building-container-images/api-golang/Dockerfile.8 @@ -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 @@ -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 . .