Skip to content

Commit

Permalink
Pin Docker emulation image version of go1.x in build image (#5950)
Browse files Browse the repository at this point in the history
  • Loading branch information
mildaniel authored Sep 18, 2023
1 parent 0c7a2ec commit 33657ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY go.mod go.sum main.go ./

RUN go build -o ../bin

FROM public.ecr.aws/lambda/go:1
FROM public.ecr.aws/lambda/go:1.2023.08.02.10

COPY --from=build-image /go/bin/ /var/task/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY go.mod go.sum main.go ./

RUN go build -o ../bin

FROM public.ecr.aws/lambda/go:1
FROM public.ecr.aws/lambda/go:1.2023.08.02.10

COPY --from=build-image /go/bin/ /var/task/

Expand Down

0 comments on commit 33657ec

Please sign in to comment.