diff --git a/Dockerfile b/Dockerfile index 1f69e24..3c43dac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ FROM alpine:${DISTRO_VERSION} ARG DISTRO_VERSION ARG VERSION -RUN adduser -D -u 10000 aws-iam-authenticator RUN apk add --update ca-certificates RUN echo "@kubezero https://cdn.zero-downtime.net/alpine/v${DISTRO_VERSION}/kubezero" >> "/etc/apk/repositories" @@ -21,5 +20,5 @@ COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=0 /lib/ld-musl-*.so.1 /lib/ COPY --from=0 /usr/bin/aws-iam-authenticator /aws-iam-authenticator -USER aws-iam-authenticator +USER 65534 ENTRYPOINT ["/aws-iam-authenticator"]