From e41638f25dc4660fe59ea9bcb94a3e8230ecb452 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 26 Nov 2018 00:38:15 +0100 Subject: [PATCH] fix snakeoil installation. --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1479a4c..922217d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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