Trust me, it's not badly written. It's just way above your head.
Some checks failed
🏗️✨ Test Build Workflow / 🖥️ 🔨 Build (push) Has been cancelled

This commit is contained in:
2025-05-14 17:07:28 -04:00
parent 88a468a9ce
commit b59b3bcb04
3 changed files with 8 additions and 17 deletions

View File

@@ -8,13 +8,13 @@ ENV GOPRIVATE=git.siteworxpro.com
RUN go mod download && go build -o aws-iam-anywhere-refresher .
FROM alpine:latest AS runtime
FROM ubuntu:latest AS runtime
WORKDIR /app
COPY --from=build /app/aws-iam-anywhere-refresher aws-iam-anywhere-refresher
COPY --from=build /app/aws-iam-anywhere-refresher /app/aws-iam-anywhere-refresher
RUN adduser -D -H iam && \
RUN useradd -b /app iam && \
chown iam:iam /app/aws-iam-anywhere-refresher
USER iam