diff --git a/peerpod-ctrl/Dockerfile b/peerpod-ctrl/Dockerfile index c15afe9ff..665b54a85 100644 --- a/peerpod-ctrl/Dockerfile +++ b/peerpod-ctrl/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$TARGETPLATFORM quay.io/confidential-containers/golang-fedora:1.20.8-36 as builder +FROM --platform=$TARGETPLATFORM quay.io/confidential-containers/golang-fedora:1.20.8-38 as builder ARG TARGETOS ARG TARGETARCH ARG CGO_ENABLED=1 @@ -31,7 +31,7 @@ RUN CC=gcc CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS:-linux} GOARCH=${TARGETARC FROM --platform=$TARGETPLATFORM registry.fedoraproject.org/fedora:38 ARG CGO_ENABLED=1 -RUN if [ "$CGO_ENABLED" = 1 ] ; then dnf install -y libvirt-libs && dnf clean all; fi +RUN if [ "$CGO_ENABLED" = 1 ] ; then dnf install -y libvirt-libs openssh-clients && dnf clean all; fi WORKDIR / COPY --from=builder /workspace/manager .