fix snakeoil installation.

This commit is contained in:
Alexis Lahouze 2018-11-26 00:38:15 +01:00
parent 4ad70060e3
commit e41638f25d

View File

@ -7,6 +7,7 @@ RUN apt-get install -y --no-install-recommends \
# Install deps
RUN pip install snakeoil
RUN pip wheel snakeoil
#RUN pip install git+https://github.com/dol-sen/pyDeComp
RUN git clone https://github.com/dol-sen/pyDeComp pydecomp
@ -37,9 +38,10 @@ WORKDIR /
FROM python:3.6-alpine
RUN apk add coreutils
#RUN apk add coreutils
RUN pip install snakeoil
COPY --from=base /snakeoil-*.whl ./
RUN pip install snakeoil-*.whl && rm snakeoil-*.whl
COPY --from=base /pydecomp/dist/pyDeComp-*.tar.gz ./
RUN tar -xzf pyDeComp-*.tar.gz && rm pyDeComp-*.tar.gz