Change catalyst installation.

This commit is contained in:
Alexis Lahouze 2018-11-25 19:58:37 +01:00
parent 6bcd72fbb9
commit f6da3c6a2d

View File

@ -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 \