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-05-03 01:21:58 +02:00
|
|
|
libboost-all-dev \
|
2020-05-06 08:28:32 +02:00
|
|
|
liblz4-dev \
|
2020-04-25 02:12:02 +02:00
|
|
|
libsdl2-dev \
|
|
|
|
libssl-dev \
|
2020-05-03 01:21:58 +02:00
|
|
|
libopus-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-05-03 01:21:58 +02:00
|
|
|
pip3 install conan && \
|
2020-05-01 06:39:10 +02:00
|
|
|
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-05-06 08:28:32 +02:00
|
|
|
RUN conan install catch2/2.11.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
|
|
|
conan install fmt/6.2.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
|
|
|
conan install nlohmann_json/3.7.3@ -s compiler.libcxx=libstdc++11 --build=missing
|