Skip to content

Commit

Permalink
switch to distroless static
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
  • Loading branch information
mblaschke committed May 20, 2022
1 parent a0fb6d9 commit 6b6f93a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN ./azure-scheduledevents-manager --help
#############################################
# FINAL IMAGE
#############################################
FROM gcr.io/distroless/base
FROM gcr.io/distroless/static
ENV LOG_JSON=1
COPY --from=build /go/src/github.com/webdevops/azure-scheduledevents-manager/azure-scheduledevents-manager /
USER 1000
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN /kubectl version --client=true
#############################################
# FINAL IMAGE
#############################################
FROM gcr.io/distroless/base
FROM gcr.io/distroless/static
ENV LOG_JSON=1 \
DRAIN_MODE=kubernetes
COPY --from=kubectl /kubectl /
Expand Down
22 changes: 0 additions & 22 deletions Dockerfile.ubuntu

This file was deleted.

0 comments on commit 6b6f93a

Please sign in to comment.