Merge pull request #530 from Yubico/linux-pyotherside-519

Linux: pyotherside 5.1.9 and python 3.8.1
This commit is contained in:
Dag Heyman 2020-01-28 13:29:43 +01:00 committed by GitHub
commit 633aa7c5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,23 +24,23 @@ 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 \
&& wget https://github.com/thp/pyotherside/archive/1.5.8.tar.gz \
&& tar -xzvf 1.5.8.tar.gz \
&& echo "DEFINES += QT_NO_DEBUG_OUTPUT" >> pyotherside-1.5.8/src/src.pro \
&& cd pyotherside-1.5.8/src \
&& 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 \
&& cd pyotherside-1.5.9/src \
&& qmake \
&& make \
&& make install
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 \