mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-28 20:06:56 +03:00
Merge pull request #530 from Yubico/linux-pyotherside-519
Linux: pyotherside 5.1.9 and python 3.8.1
This commit is contained in:
commit
633aa7c5ae
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user