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

Commit a419c34

Browse files
author
Han Xiao
authored
Merge pull request #334 from gnes-ai/fix-ci-docker
fix(ci): remove cffi from gnes docker image
2 parents 758797b + 3062c43 commit a419c34

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Dockerfiles/alpine.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ RUN apk add --no-cache \
2020
musl-dev python3-dev py-pgen cython openblas-dev && \
2121
apk add --no-cache libstdc++ openblas libzmq && \
2222
ln -s locale.h /usr/include/xlocale.h && \
23-
pip install cffi==1.12.3 --no-cache-dir --compile && \
2423
pip install . --no-cache-dir --compile && \
2524
find /usr/lib/python3.7/ -name 'tests' -exec rm -r '{}' + && \
2625
find /usr/lib/python3.7/site-packages/ -name '*.so' -print -exec sh -c 'file "{}" | grep -q "not stripped" && strip -s "{}"' \; && \

Dockerfiles/buster.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ ADD setup.py MANIFEST.in requirements.txt README.md ./
2020
ADD gnes ./gnes/
2121

2222
RUN ln -s locale.h /usr/include/xlocale.h && \
23-
pip install cffi==1.12.3 --no-cache-dir --compile && \
2423
pip install . --no-cache-dir --compile && \
2524
rm -rf /tmp/* && rm -rf /gnes && \
2625
rm /usr/include/xlocale.h

Dockerfiles/ubuntu18.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2727
ADD setup.py MANIFEST.in requirements.txt README.md ./
2828
ADD gnes ./gnes/
2929

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

3333
WORKDIR /

0 commit comments

Comments
 (0)