Skip to content

Commit

Permalink
Merge pull request #59 from dimityrmirchev/patch-1
Browse files Browse the repository at this point in the history
Change base image from alpine to distroless
  • Loading branch information
unmarshall authored Jul 25, 2022
2 parents 606ac15 + 6404b1e commit 427e8c9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ COPY . .

RUN make build

FROM alpine:3.15.4
FROM gcr.io/distroless/static-debian11:nonroot

RUN apk add --update bash curl

COPY --from=builder /go/src/github.com/gardener/dependency-watchdog/bin/dependency-watchdog /usr/local/bin/dependency-watchdog
COPY --from=builder /go/src/github.com/gardener/dependency-watchdog/bin/dependency-watchdog /dependency-watchdog
WORKDIR /
ENTRYPOINT ["/usr/local/bin/dependency-watchdog"]
ENTRYPOINT ["/dependency-watchdog"]

0 comments on commit 427e8c9

Please sign in to comment.