2020-04-25 00:12:02 +00:00
|
|
|
FROM ubuntu:20.04
|
2019-03-23 00:27:11 +00:00
|
|
|
MAINTAINER yuzu
|
2020-05-08 02:22:08 +00: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 04:39:10 +00: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 00:12:02 +00:00
|
|
|
build-essential \
|
2020-05-02 23:21:58 +00:00
|
|
|
libboost-all-dev \
|
2020-05-06 06:28:32 +00:00
|
|
|
liblz4-dev \
|
2020-04-25 00:12:02 +00:00
|
|
|
libsdl2-dev \
|
|
|
|
libssl-dev \
|
2020-05-02 23:21:58 +00:00
|
|
|
libopus-dev \
|
2020-05-06 06:28:32 +00:00
|
|
|
libzip-dev \
|
2020-05-02 23:21:58 +00:00
|
|
|
libzstd-dev \
|
2020-05-06 06:28:32 +00:00
|
|
|
zlib1g-dev \
|
2020-04-25 00:12:02 +00:00
|
|
|
python \
|
2020-05-02 23:21:58 +00:00
|
|
|
python3-pip \
|
2020-04-25 00:12:02 +00:00
|
|
|
qtbase5-dev \
|
2020-05-01 04:39:10 +00:00
|
|
|
qtbase5-private-dev \
|
2020-04-25 00:12:02 +00:00
|
|
|
qtwebengine5-dev \
|
|
|
|
libqt5opengl5-dev \
|
|
|
|
wget \
|
|
|
|
git \
|
|
|
|
ccache \
|
|
|
|
cmake \
|
2020-05-01 04:39:10 +00:00
|
|
|
ninja-build && \
|
2020-05-02 23:21:58 +00:00
|
|
|
pip3 install conan && \
|
2020-05-01 04:39:10 +00: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 02:22:08 +00:00
|
|
|
USER 1027
|
2020-05-06 06:28:32 +00: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
|