diff --git a/Dockerfile b/Dockerfile index 136360b7a6b55f8c852a6fc408f196fc75609449..ed11808da2b2ed0c8410dbc9050b7a3d528b4ab4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ ARG BASE_REGISTRY=registry1.dsop.io ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8 ARG BASE_TAG=8.3 - FROM ghcr.io/fluxcd/kustomize-controller:v0.2.1 as builder FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} @@ -24,8 +23,9 @@ COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl RUN groupadd controller \ && useradd -g controller -m controller \ && chmod +x /sbin/tini \ - && dnf install -y --nodocs git openssh-clients gnupg \ && dnf update -y \ + && dnf install -y --nodocs git openssh-clients gnupg \ + && chmod -s /usr/libexec/openssh/ssh-keysign \ && dnf clean all USER controller