diff --git a/packaging/docker/authenticator/Dockerfile b/packaging/docker/authenticator/Dockerfile index 0903797..5ddf437 100644 --- a/packaging/docker/authenticator/Dockerfile +++ b/packaging/docker/authenticator/Dockerfile @@ -1,7 +1,6 @@ -FROM alpine:latest as runtime +FROM gcr.io/distroless/static-debian11:latest as runtime MAINTAINER OpenSource PF -RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates COPY authenticator /authenticator # Run as nobody:x:65534:65534:nobody:/:/sbin/nologin diff --git a/packaging/docker/synchronizer/Dockerfile b/packaging/docker/synchronizer/Dockerfile index e9ac096..1b6c082 100644 --- a/packaging/docker/synchronizer/Dockerfile +++ b/packaging/docker/synchronizer/Dockerfile @@ -1,7 +1,6 @@ -FROM alpine:latest as runtime +FROM gcr.io/distroless/static-debian11:latest as runtime MAINTAINER OpenSource PF -RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates COPY synchronizer /synchronizer # Run as nobody:x:65534:65534:nobody:/:/sbin/nologin diff --git a/packaging/docker/token-renewer/Dockerfile b/packaging/docker/token-renewer/Dockerfile index 57da822..551992d 100644 --- a/packaging/docker/token-renewer/Dockerfile +++ b/packaging/docker/token-renewer/Dockerfile @@ -1,7 +1,6 @@ -FROM alpine:latest as runtime +FROM gcr.io/distroless/static-debian11:latest as runtime MAINTAINER OpenSource PF -RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates COPY token-renewer /token-renewer # Run as nobody:x:65534:65534:nobody:/:/sbin/nologin