Skip to content

Commit

Permalink
fix:update to al2 runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbasic committed Mar 12, 2024
1 parent 099b07f commit 7b90e40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/cdk-ecr-deployment/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@ FROM ${buildImage} as build

USER root

ARG GOPROXY

ENV GOOS=linux \
GOARCH=amd64 \
GO111MODULE=on \
GOPROXY=https://proxy.golang.org/cached-only,direct,https://goproxy.io
GOPROXY="${GOPROXY}"

WORKDIR /ws

COPY go.mod go.sum ./

RUN go mod download -x
RUN go env

# RUN go mod download -x

COPY . /ws

Expand Down

0 comments on commit 7b90e40

Please sign in to comment.