Skip to content

Instantly share code, notes, and snippets.

@squeaky-pl
Created December 12, 2019 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeaky-pl/c8b569ba2c23e22c78a85f600810ed32 to your computer and use it in GitHub Desktop.
Save squeaky-pl/c8b569ba2c23e22c78a85f600810ed32 to your computer and use it in GitHub Desktop.
Sending build context to Docker daemon 34.33MB
Step 1/3 : FROM ubuntu:bionic
---> 775349758637
Step 2/3 : ADD pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 .
---> Using cache
---> 10194e523d0b
Step 3/3 : RUN pypy3.6-7.2.0-linux_x86_64-portable/bin/python3 -c 'import ssl; print(ssl.get_default_verify_paths())' ---> Running in c56f957f5ab2
DefaultVerifyPaths(cafile='/pypy3.6-7.2.0-linux_x86_64-portable/lib-python/3/cacert.pem', capath=None, openssl_cafile_env='SSL_CERT_FILE', openssl_cafile=None, openssl_capath_env='SSL_CERT_DIR', openssl_capath=None)
Removing intermediate container c56f957f5ab2
---> 791aa859ec66
@mattip
Copy link

mattip commented Dec 12, 2019

What about

RUN pypy3.6-7.2.0-linux_x86_64-portable/bin/python3 -mensurepip
RUN pypy3.6-7.2.0-linux_x86_64-portable/bin/python3 -mpip install certifi
RUN pypy3.6-7.2.0-linux_x86_64-portable/bin/python3 -c "import urllib.request; urllib.request.urlopen('https://www.google.com')"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment