Update Dockerfile

set QT env
This commit is contained in:
qurious-pixel 2020-07-25 19:53:28 -07:00 committed by GitHub
parent 46e0d436d4
commit 57db87b221
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
$GCC_BINARY $GXX_BINARY \ $GCC_BINARY $GXX_BINARY \
libboost-all-dev \ libboost-all-dev \
liblz4-dev \ liblz4-dev \
liblzma-dev \
libsdl2-dev \ libsdl2-dev \
libssl-dev \ libssl-dev \
libopus-dev \ libopus-dev \
@ -38,6 +39,7 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
python-setuptools \ python-setuptools \
qtbase5-dev \ qtbase5-dev \
qtbase5-private-dev \ qtbase5-private-dev \
qtdeclarative5-dev \
qttools5-dev \ qttools5-dev \
qtwebengine5-dev \ qtwebengine5-dev \
libqt5opengl5-dev \ libqt5opengl5-dev \
@ -49,6 +51,7 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
libavformat-dev \ libavformat-dev \
libavdevice-dev \ libavdevice-dev \
libfmt-dev \ libfmt-dev \
x11-utils \
wget \ wget \
curl \ curl \
git \ git \
@ -60,6 +63,7 @@ RUN useradd -m -u 1027 -s /bin/bash yuzu && \
RUN \ RUN \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCCVER} 10 && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCCVER} 10 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${GCCVER} 10 && \ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${GCCVER} 10 && \
source /opt/qt514/bin/qt514-env.sh && \
gcc --version && \ gcc --version && \
g++ --version g++ --version
@ -80,7 +84,7 @@ RUN \
make && make install && \ make && make install && \
rm ../../libzip-${LIBZIPVER}.tar.gz rm ../../libzip-${LIBZIPVER}.tar.gz
RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log RUN apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/apt /var/lib/cache /var/lib/log
RUN mkdir -p /yuzu RUN mkdir -p /yuzu
RUN chown yuzu /yuzu RUN chown yuzu /yuzu