diff --git a/docker/Dockerfile.worker b/docker/Dockerfile.worker index 049fb6a1c..851917ab8 100644 --- a/docker/Dockerfile.worker +++ b/docker/Dockerfile.worker @@ -58,13 +58,12 @@ make binaries EOT -# Add a buildah build stage +# buildah build stage FROM golang AS buildah WORKDIR /workspace RUN apt-get update && apt-get install -y \ make \ - bats \ btrfs-progs \ git \ go-md2man \ @@ -78,7 +77,7 @@ RUN apt-get update && apt-get install -y \ pkg-config RUN git clone https://github.com/containers/buildah.git . && \ - CGO_ENABLED=0 make BUILDTAGS="containers_image_ostree_stub exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp cni" && \ + make BUILDTAGS="cni" && \ make install # beta9 worker @@ -116,7 +115,10 @@ RUN apt-get install -y --no-install-recommends nvidia-container-toolkit-base nvi RUN apt-get update && apt-get install -y fuse3 libfuse2 libfuse3-dev libfuse-dev bash-completion -RUN apt-get install -y libbtrfs-dev libgpgme11-dev podman +RUN apt-get install -y libbtrfs-dev libgpgme11-dev +RUN mkdir -p /etc/containers/registries.conf.d +RUN curl -L https://raw.githubusercontent.com/containers/shortnames/refs/heads/main/shortnames.conf \ + -o /etc/containers/registries.conf.d/shortnames.conf # XXX: Remove once cedana starts shipping with a compatible binary RUN <