diff --git a/images/ubuntu-2204/Dockerfile b/images/ubuntu-2204/Dockerfile index 9f0dcf3..d849963 100644 --- a/images/ubuntu-2204/Dockerfile +++ b/images/ubuntu-2204/Dockerfile @@ -11,14 +11,17 @@ RUN apt update && \ git \ xz-utils \ ca-certificates \ - unzip \ + python3 \ + python3-pip \ + python3-venv \ --no-install-recommends \ --autoremove -FROM skeleton as build +FROM skeleton as build-node WORKDIR tmp +# Install node. RUN curl https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz \ --output /tmp/node-v$NODE_VERSION-linux-x64.tar.xz && \ tar -xf /tmp/node-v$NODE_VERSION-linux-x64.tar.xz @@ -27,7 +30,9 @@ FROM skeleton as runner WORKDIR /runner -COPY --from=build /tmp/node-v$NODE_VERSION-linux-x64/bin/* /bin/ -COPY --from=build /tmp/node-v$NODE_VERSION-linux-x64/lib/* /lib/ +COPY --from=build-node /tmp/node-v$NODE_VERSION-linux-x64/bin/* /bin/ +COPY --from=build-node /tmp/node-v$NODE_VERSION-linux-x64/lib/* /lib/ + +RUN python3 -m pip install pipx COPY ./files/registries.conf /etc/containers/registries.conf