Skip to content
Permalink
Browse files

fix(ci): fix cffi version to 1.12.3

  • Loading branch information...
hanxiao committed Oct 15, 2019
1 parent dfe3c41 commit 15d9b4feb0caa46c0794bd8eb99cb5908d4bef4d
Showing with 2 additions and 2 deletions.
  1. +1 −1 Dockerfiles/alpine.Dockerfile
  2. +1 −1 Dockerfiles/ubuntu18.Dockerfile
@@ -20,7 +20,7 @@ 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 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 "{}"' \; && \
@@ -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 pip install cffi==1.12.3 --no-cache-dir --compile && pip3 install . --no-cache-dir --compile && \
RUN pip3 install cffi==1.12.3 --no-cache-dir --compile && pip3 install . --no-cache-dir --compile && \
rm -rf /tmp/* && rm -rf /gnes

WORKDIR /

0 comments on commit 15d9b4f

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