Skip to content

Commit

Permalink
Remove the tini supervisor
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed May 24, 2023
1 parent dd6f8b0 commit 170233b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ RUN xx-go build -trimpath -a -o image-reflector-controller main.go

FROM alpine:3.18

LABEL org.opencontainers.image.source="https://github.com/fluxcd/image-reflector-controller"
ARG TARGETPLATFORM

RUN apk add --no-cache ca-certificates tini
RUN apk --no-cache add ca-certificates \
&& update-ca-certificates

COPY --from=builder /workspace/image-reflector-controller /usr/local/bin/

USER 65534:65534

ENTRYPOINT [ "/sbin/tini", "--", "image-reflector-controller" ]
ENTRYPOINT [ "image-reflector-controller" ]

0 comments on commit 170233b

Please sign in to comment.