diff --git a/Dockerfile b/Dockerfile index 245e334..538d292 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,35 +1,7 @@ -FROM python:3.7-alpine as base - -ARG CATALYST_VERSION - -RUN git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst - -RUN pip install snakeoil - -WORKDIR catalyst - -RUN python -m setup install - FROM python:3.7-alpine - -# Copy snakeoil files -COPY --from=base /usr/lib/python3.7/site-packages/snakeoil \ - /usr/lib/python3.7/site-packages/ - - -# Copy Catalyst library files -COPY --from=base /usr/lib/python3.7/site-packages/catalyst \ - /usr/lib/python3.7/site-packages/ - -# Copy Catalyst shared files -COPY --from=base /usr/share/catalyst /usr/share/ - -# Copy Catalyst configuration files -COPY --from=base /etc/catalyst /etc/ - -# Copy Catalyst binary -COPY --from=base /usr/bin/catalyst /usr/bin/ +RUN pip install snakeoil \ + git+https://anongit.gentoo.org/git/proj/catalyst.git # Override Stage3 preclean to add perl-cleaner invocation COPY stage3-preclean-chroot.sh \