Initial commit and release

This commit is contained in:
2024-07-31 10:08:48 -04:00
commit 360e1cf241
15 changed files with 3053 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM siteworxpro/golang:1.22.5 AS build
ENV GOPRIVATE=git.s.int
ENV GOPROXY=direct
WORKDIR /app
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
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"]