Skip to content

Instantly share code, notes, and snippets.

@tigrus
Last active April 7, 2019 13:05
Show Gist options
  • Select an option

  • Save tigrus/b3c0936d420bb271f7e14645f0c53e57 to your computer and use it in GitHub Desktop.

Select an option

Save tigrus/b3c0936d420bb271f7e14645f0c53e57 to your computer and use it in GitHub Desktop.

Revisions

  1. tigrus revised this gist Apr 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Dockerfile
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@ FROM python:3.6.8
    WORKDIR /opt
    RUN wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.1.0-linux64.tar.bz2
    RUN tar -xvf pypy3.6-v7.1.0-linux64.tar.bz2
    RUN ./pypy3.6-v7.1.0-linux64/bin/pypy3 -c "print(1)"
    RUN ln -s /opt/pypy3.6-v7.1.0-linux64/bin/pypy3 /usr/bin/pypy
    # Smoke test
    RUN pypy -c "print(2)"
    ENV PYTHON_PIP_VERSION 19.0.3

  2. tigrus created this gist Apr 7, 2019.
    17 changes: 17 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    FROM python:3.6.8
    WORKDIR /opt
    RUN wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.1.0-linux64.tar.bz2
    RUN tar -xvf pypy3.6-v7.1.0-linux64.tar.bz2
    RUN ./pypy3.6-v7.1.0-linux64/bin/pypy3 -c "print(1)"
    RUN ln -s /opt/pypy3.6-v7.1.0-linux64/bin/pypy3 /usr/bin/pypy
    RUN pypy -c "print(2)"
    ENV PYTHON_PIP_VERSION 19.0.3


    RUN rm -rf /usr/local/bin/pi*
    RUN pypy -m ensurepip
    RUN ln -s /opt/pypy3.6-v7.1.0-linux64/bin/pip3 /usr/bin/pip


    WORKDIR /opt/pypy3.6-v7.1.0-linux64/lib_pypy/
    RUN pypy _ssl_build.py