Remove the tini supervisor

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-05-24 10:49:37 +02:00
parent e546364a5b
commit ba7edbdfe9
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
1 changed files with 3 additions and 5 deletions

View File

@ -33,13 +33,11 @@ RUN xx-go build -trimpath -a -o helm-controller main.go
FROM alpine:3.18
# link repo to the GitHub Container Registry image
LABEL org.opencontainers.image.source="https://github.com/fluxcd/helm-controller"
RUN apk add --no-cache ca-certificates tini
RUN apk add --no-cache ca-certificates \
&& update-ca-certificates
COPY --from=builder /workspace/helm-controller /usr/local/bin/
USER 65534:65534
ENTRYPOINT [ "/sbin/tini", "--", "helm-controller" ]
ENTRYPOINT [ "helm-controller" ]