From f6da3c6a2d7f99b7b26a4ca3b71a0521d599b14c Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 25 Nov 2018 19:58:37 +0100 Subject: [PATCH] Change catalyst installation. --- Dockerfile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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 \