Loading linux/py2/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ ARG PYINSTALLER_VERSION=3.5 # install python RUN set -x \ && apt-get update -qy \ && apt-get install --no-install-recommends -qfy python python-dev python-pip python-setuptools build-essential libmysqlclient-dev git upx \ && apt-get install --no-install-recommends -qfy python python-dev python-pip python-setuptools build-essential libmysqlclient-dev git upx libgdbm-dev libgdbm3 uuid-dev \ && apt-get clean # PYPI repository location Loading linux/py3/Dockerfile→linux/py3-64/Dockerfile +17 −1 Original line number Diff line number Diff line Loading @@ -19,14 +19,30 @@ RUN \ build-essential \ ca-certificates \ curl \ wget \ git \ libbz2-dev \ libreadline-dev \ libsqlite3-dev \ libssl-dev \ zlib1g-dev \ libffi-dev \ #optional libraries libgdbm-dev \ libgdbm3 \ uuid-dev \ #upx upx \ # required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL && mkdir openssl \ && cd openssl \ # latest version, there won't be anything newer for this && wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \ && tar -xzvf openssl-1.0.2u.tar.gz \ && cd openssl-1.0.2u \ && ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \ && make \ && make install \ # install pyenv && echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \ && echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \ Loading @@ -35,7 +51,7 @@ RUN \ && echo 'eval "$(pyenv init -)"' >> ~/.bashrc \ && source ~/.bashrc \ # install python && PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_VERSION \ && PATH="$HOME/openssl:$PATH" CPPFLAGS="-O2 -I$HOME/openssl/include" CFLAGS="-I$HOME/openssl/include/" LDFLAGS="-L$HOME/openssl/lib -Wl,-rpath,$HOME/openssl/lib" LD_LIBRARY_PATH=$HOME/openssl/lib:$LD_LIBRARY_PATH LD_RUN_PATH="$HOME/openssl/lib" CONFIGURE_OPTS="--with-openssl=$HOME/openssl" PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_VERSION \ && pyenv global $PYTHON_VERSION \ && pip install --upgrade pip \ # install pyinstaller Loading linux/py3/entrypoint.sh→linux/py3-64/entrypoint.sh +0 −0 File moved. View file Loading
linux/py2/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ ARG PYINSTALLER_VERSION=3.5 # install python RUN set -x \ && apt-get update -qy \ && apt-get install --no-install-recommends -qfy python python-dev python-pip python-setuptools build-essential libmysqlclient-dev git upx \ && apt-get install --no-install-recommends -qfy python python-dev python-pip python-setuptools build-essential libmysqlclient-dev git upx libgdbm-dev libgdbm3 uuid-dev \ && apt-get clean # PYPI repository location Loading
linux/py3/Dockerfile→linux/py3-64/Dockerfile +17 −1 Original line number Diff line number Diff line Loading @@ -19,14 +19,30 @@ RUN \ build-essential \ ca-certificates \ curl \ wget \ git \ libbz2-dev \ libreadline-dev \ libsqlite3-dev \ libssl-dev \ zlib1g-dev \ libffi-dev \ #optional libraries libgdbm-dev \ libgdbm3 \ uuid-dev \ #upx upx \ # required because openSSL on Ubuntu 12.04 and 14.04 run out of support versions of OpenSSL && mkdir openssl \ && cd openssl \ # latest version, there won't be anything newer for this && wget https://www.openssl.org/source/openssl-1.0.2u.tar.gz \ && tar -xzvf openssl-1.0.2u.tar.gz \ && cd openssl-1.0.2u \ && ./config --prefix=$HOME/openssl --openssldir=$HOME/openssl shared zlib \ && make \ && make install \ # install pyenv && echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \ && echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \ Loading @@ -35,7 +51,7 @@ RUN \ && echo 'eval "$(pyenv init -)"' >> ~/.bashrc \ && source ~/.bashrc \ # install python && PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_VERSION \ && PATH="$HOME/openssl:$PATH" CPPFLAGS="-O2 -I$HOME/openssl/include" CFLAGS="-I$HOME/openssl/include/" LDFLAGS="-L$HOME/openssl/lib -Wl,-rpath,$HOME/openssl/lib" LD_LIBRARY_PATH=$HOME/openssl/lib:$LD_LIBRARY_PATH LD_RUN_PATH="$HOME/openssl/lib" CONFIGURE_OPTS="--with-openssl=$HOME/openssl" PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_VERSION \ && pyenv global $PYTHON_VERSION \ && pip install --upgrade pip \ # install pyinstaller Loading