Skip to content

Commit

Permalink
update 'air' installation path, update golang version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
youngha committed Jul 9, 2024
1 parent a12f9b3 commit 47bda82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _chapter15/section59/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# デプロイ用コンテナに含めるバイナリを作成するコンテナ
FROM golang:1.18.2-bullseye as deploy-builder
FROM golang:1.22-bullseye as deploy-builder

WORKDIR /app

Expand All @@ -21,7 +21,7 @@ CMD ["./app"]

# ---------------------------------------------------

FROM golang:1.18.2 as dev
FROM golang:1.22 as dev
WORKDIR /app
RUN go install github.com/cosmtrek/air@latest
RUN go install github.com/air-verse/air@latest
CMD ["air"]

0 comments on commit 47bda82

Please sign in to comment.