Skip to content

Commit

Permalink
feat: use distroless image from gcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Oct 18, 2022
1 parent fef9ee0 commit 583d270
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packaging/docker/authenticator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:latest as runtime
FROM gcr.io/distroless/static-debian11:latest as runtime
MAINTAINER OpenSource PF <[email protected]>

RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
COPY authenticator /authenticator

# Run as nobody:x:65534:65534:nobody:/:/sbin/nologin
Expand Down
3 changes: 1 addition & 2 deletions packaging/docker/synchronizer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:latest as runtime
FROM gcr.io/distroless/static-debian11:latest as runtime
MAINTAINER OpenSource PF <[email protected]>

RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
COPY synchronizer /synchronizer

# Run as nobody:x:65534:65534:nobody:/:/sbin/nologin
Expand Down
3 changes: 1 addition & 2 deletions packaging/docker/token-renewer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM alpine:latest as runtime
FROM gcr.io/distroless/static-debian11:latest as runtime
MAINTAINER OpenSource PF <[email protected]>

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
Expand Down

0 comments on commit 583d270

Please sign in to comment.