diff --git a/containers/Containerfile.compiler b/containers/Containerfile.compiler index ea065fa..084d908 100644 --- a/containers/Containerfile.compiler +++ b/containers/Containerfile.compiler @@ -1,3 +1,4 @@ +ARG DEST_DIR=/build FROM registry.fedoraproject.org/fedora:40 as cosmic-compiler RUN dnf update -y @@ -25,9 +26,9 @@ RUN dnf install -y git \ RUN mkdir -p /build RUN git clone --recurse-submodules https://github.com/pop-os/launcher -RUN cd launcher && just build-release && just rootdir=/build install && just clean && cd .. +RUN cd launcher && just build-release && just rootdir=${DEST_DIR} install && just clean && cd .. RUN git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch -RUN cd cosmic-epoch && git submodule update --remote && just install rootdir=/build prefix=/usr && just clean && cd .. +RUN cd cosmic-epoch && git submodule update --remote && just rootdir=${DEST_DIR} install && just clean && cd .. # Artifacts in /build \ No newline at end of file