Linux: bump to python 3.8.1

This commit is contained in:
Dennis Fokin 2020-01-28 10:56:51 +01:00
parent 0f8826d13b
commit 1e71bd9d18

View File

@ -24,8 +24,8 @@ ENV LD_LIBRARY_PATH=$QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRA
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash \
&& eval "$(pyenv init -)" \
&& pyenv update \
&& pyenv install --force 3.7.4 \
&& pyenv global 3.7.4 \
&& pyenv install --force 3.8.1 \
&& pyenv global 3.8.1 \
&& wget https://github.com/thp/pyotherside/archive/1.5.9.tar.gz \
&& tar -xzvf 1.5.9.tar.gz \
&& echo "DEFINES += QT_NO_DEBUG_OUTPUT" >> pyotherside-1.5.9/src/src.pro \
@ -36,11 +36,11 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
COPY . yubioath-desktop
RUN mkdir -p yubioath-desktop/appDir/usr \
&& eval "$(pyenv init -)" \
&& pyenv global 3.7.4 \
&& pyenv global 3.8.1 \
&& cd yubioath-desktop \
&& pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& cp -R /root/.pyenv/versions/3.7.4/* appDir/usr \
&& cp -R /root/.pyenv/versions/3.8.1/* appDir/usr \
&& apt-get download libykpers-1-1 \
&& dpkg -x libykpers*.deb appDir/ \
&& qmake \