fix: make podman build work on containerd

This commit is contained in:
Stefan Reimer 2024-11-04 19:43:41 +00:00
parent 4fc073c80f
commit 874110f2e4

View File

@ -43,8 +43,9 @@ RUN sed -i -e 's/exec \$JAVA_BIN/podman system service -t0\&\n exec \$JAV
ENV XDG_RUNTIME_DIR=/home/$BUILDUSER/agent/xdg-run ENV XDG_RUNTIME_DIR=/home/$BUILDUSER/agent/xdg-run
ENV XDG_CONFIG_HOME=/home/$BUILDUSER/.config ENV XDG_CONFIG_HOME=/home/$BUILDUSER/.config
ENV BUILDAH_ISOLATION=chroot # Not needed on containerd and actually breaks `podman build`
ENV _CONTAINERS_USERNS_CONFIGURED="" #ENV BUILDAH_ISOLATION=chroot
#ENV _CONTAINERS_USERNS_CONFIGURED=""
# Until we setup the logging and metrics pipelines in OTEL # Until we setup the logging and metrics pipelines in OTEL
ENV OTEL_LOGS_EXPORTER=none ENV OTEL_LOGS_EXPORTER=none