Updated golang version

This commit is contained in:
2024-09-20 11:25:19 -04:00
parent 336730039e
commit 43bfe42384
4 changed files with 100 additions and 78 deletions

View File

@@ -9,12 +9,10 @@ ADD . .
RUN go mod tidy && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on GOOS=linux go build -o /app/aws-iam-anywhere-refresher
FROM ubuntu AS runtime
FROM alpine:3 AS runtime
WORKDIR /app
COPY --from=build /app/aws-iam-anywhere-refresher aws-iam-anywhere-refresher
RUN apt update && apt install -yqq ca-certificates
ENTRYPOINT ["/app/aws-iam-anywhere-refresher"]