Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(ci): remove cffi from gnes docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Oct 16, 2019
1 parent 758797b commit 3062c43
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfiles/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "{}"' \; && \
Expand Down
1 change: 0 additions & 1 deletion Dockerfiles/buster.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/ubuntu18.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /
Expand Down

0 comments on commit 3062c43

Please sign in to comment.