Commit 8cb20269 authored by Daniel Goldberg's avatar Daniel Goldberg
Browse files

Add optional UPX

parent 9d1f6c52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 \
    && apt-get install --no-install-recommends -qfy python python-dev python-pip python-setuptools build-essential libmysqlclient-dev git upx \
    && apt-get clean

# PYPI repository location
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ RUN \
        libsqlite3-dev \
        libssl-dev \
        zlib1g-dev \
        #upx
        upx \
    # install pyenv
    && echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc \
    && echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc \