Skip to content
Permalink
Browse files

fix(ci): remove cffi from gnes docker image

  • Loading branch information...
hanxiao committed Oct 16, 2019
1 parent 758797b commit 3062c43cbc3926c2b74fad053b68a6c89efe62a2
Showing with 1 addition and 3 deletions.
  1. +0 −1 Dockerfiles/alpine.Dockerfile
  2. +0 −1 Dockerfiles/buster.Dockerfile
  3. +1 −1 Dockerfiles/ubuntu18.Dockerfile
@@ -20,7 +20,6 @@ RUN apk add --no-cache \
musl-dev python3-dev py-pgen cython openblas-dev && \
apk add --no-cache libstdc++ openblas libzmq && \
ln -s locale.h /usr/include/xlocale.h && \
pip install cffi==1.12.3 --no-cache-dir --compile && \
pip install . --no-cache-dir --compile && \
find /usr/lib/python3.7/ -name 'tests' -exec rm -r '{}' + && \
find /usr/lib/python3.7/site-packages/ -name '*.so' -print -exec sh -c 'file "{}" | grep -q "not stripped" && strip -s "{}"' \; && \
@@ -20,7 +20,6 @@ ADD setup.py MANIFEST.in requirements.txt README.md ./
ADD gnes ./gnes/

RUN ln -s locale.h /usr/include/xlocale.h && \
pip install cffi==1.12.3 --no-cache-dir --compile && \
pip install . --no-cache-dir --compile && \
rm -rf /tmp/* && rm -rf /gnes && \
rm /usr/include/xlocale.h
@@ -27,7 +27,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
ADD setup.py MANIFEST.in requirements.txt README.md ./
ADD gnes ./gnes/

RUN pip3 install cffi==1.12.3 --no-cache-dir --compile && pip3 install . --no-cache-dir --compile && \
RUN pip3 install . --no-cache-dir --compile && \
rm -rf /tmp/* && rm -rf /gnes

WORKDIR /

0 comments on commit 3062c43

Please sign in to comment.
You can’t perform that action at this time.