Skip to content

Commit

Permalink
Merge pull request #87 from pyh-uuhc/main
Browse files Browse the repository at this point in the history
update 'air' installation path, update golang version to 1.22
  • Loading branch information
budougumi0617 authored Jul 12, 2024
2 parents a12f9b3 + 47bda82 commit 98166a2
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 98166a2

Please sign in to comment.