From f9cabbb92834450c7b61a493afa79622cab1e3c6 Mon Sep 17 00:00:00 2001 From: Snir Sheriber Date: Mon, 2 Oct 2023 11:12:13 +0300 Subject: [PATCH] peerpod-ctrl: add libvirt ssh authentication support and update golang-fedora container version Fixes: #1241 Signed-off-by: Snir Sheriber --- peerpod-ctrl/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .