diff --git a/Dockerfile b/Dockerfile index 4867804..9c84f27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,21 @@ FROM python:3.7-alpine -RUN apk add git - RUN apk add --no-cache --virtual .build-deps \ - gcc musl-dev \ - && pip install snakeoil \ - && apk del .build-deps + git make gcc musl-dev \ -RUN pip install git+https://anongit.gentoo.org/git/proj/catalyst.git + # Install deps + && pip install snakeoil \ + + # Clone catalyst repository + && git clone https://anongit.gentoo.org/git/proj/catalyst.git catalyst \ + + # Build and install catalyst + && cd catalyst \ + && make \ + && python -m setup install \ + + # Cleanup + && apk del .build-deps # Override Stage3 preclean to add perl-cleaner invocation COPY stage3-preclean-chroot.sh \