2020-04-25 02:12:02 +02:00
|
|
|
FROM ubuntu:20.04
|
2019-03-23 01:27:11 +01:00
|
|
|
MAINTAINER yuzu
|
2020-05-08 04:22:08 +02:00
|
|
|
# Create a user account yuzu (UID 1027) that the container will run as
|
|
|
|
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
2020-05-01 06:39:10 +02:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y full-upgrade && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
|
2020-04-25 02:12:02 +02:00
|
|
|
build-essential \
|
2020-11-18 07:18:38 +01:00
|
|
|
gcc-10 \
|
|
|
|
g++-10 \
|
2020-11-20 01:57:56 +01:00
|
|
|
glslang-tools \
|
2020-11-18 07:18:38 +01:00
|
|
|
libavcodec-dev \
|
|
|
|
libavutil-dev \
|
|
|
|
libswscale-dev \
|
2020-05-06 08:28:32 +02:00
|
|
|
liblz4-dev \
|
2020-11-18 07:18:38 +01:00
|
|
|
libopus-dev \
|
2020-04-25 02:12:02 +02:00
|
|
|
libsdl2-dev \
|
|
|
|
libssl-dev \
|
2020-05-06 08:28:32 +02:00
|
|
|
libzip-dev \
|
2020-05-03 01:21:58 +02:00
|
|
|
libzstd-dev \
|
2020-05-06 08:28:32 +02:00
|
|
|
zlib1g-dev \
|
2020-04-25 02:12:02 +02:00
|
|
|
python \
|
2020-05-03 01:21:58 +02:00
|
|
|
python3-pip \
|
2020-04-25 02:12:02 +02:00
|
|
|
qtbase5-dev \
|
2020-05-01 06:39:10 +02:00
|
|
|
qtbase5-private-dev \
|
2020-07-19 13:26:50 +02:00
|
|
|
qttools5-dev \
|
2020-04-25 02:12:02 +02:00
|
|
|
qtwebengine5-dev \
|
|
|
|
libqt5opengl5-dev \
|
|
|
|
wget \
|
|
|
|
git \
|
|
|
|
ccache \
|
|
|
|
cmake \
|
2020-05-01 06:39:10 +02:00
|
|
|
ninja-build && \
|
2020-11-18 07:18:38 +01:00
|
|
|
pip3 install conan
|
|
|
|
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 && \
|
|
|
|
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
|
|
|
|
RUN apt-get clean autoclean && \
|
|
|
|
apt-get autoremove --yes && \
|
|
|
|
rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
2020-05-08 04:22:08 +02:00
|
|
|
USER 1027
|
2020-12-08 23:38:11 +01:00
|
|
|
RUN conan install boost/1.73.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
|
|
|
conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
2020-11-18 07:18:38 +01:00
|
|
|
conan install fmt/7.1.2@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
2020-09-27 21:23:19 +02:00
|
|
|
conan install nlohmann_json/3.9.1@ -s compiler.libcxx=libstdc++11 --build=missing
|