From 6f60471659110fb25aef2842d7c5b64678ddd48a Mon Sep 17 00:00:00 2001 From: Scott Seago Date: Tue, 25 Jul 2023 16:57:14 -0400 Subject: [PATCH] set HOME in velero image for kopia, update controller-gen for CI (#280) Signed-off-by: Scott Seago --- Dockerfile.ubi | 4 ++++ Makefile.prow | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile.ubi b/Dockerfile.ubi index 3f4999b7e6..f250eb5cfa 100644 --- a/Dockerfile.ubi +++ b/Dockerfile.ubi @@ -18,6 +18,10 @@ RUN microdnf -y update && microdnf -y install nmap-ncat && microdnf clean all COPY --from=builder /go/src/velero velero COPY --from=restic-builder /opt/app-root/src/restic /usr/bin/restic +RUN mkdir -p /home/velero +RUN chmod -R 777 /home/velero + USER 65534:65534 +ENV HOME=/home/velero ENTRYPOINT ["/velero"] diff --git a/Makefile.prow b/Makefile.prow index b29dfc1d99..7e43d0b8c2 100644 --- a/Makefile.prow +++ b/Makefile.prow @@ -7,7 +7,7 @@ # GOFLAGS=-mod=mod make update GOFLAGS=-mod=mod -CONGEN_VERSION=0.7.0 +CONGEN_VERSION=0.12.0 CODEGEN_VERSION=0.22.2 PROWBIN=/tmp/prowbin # Name of this Makefile