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-11-18 06:18:38 +00:00
|
|
|
gcc-10 \
|
|
|
|
g++-10 \
|
|
|
|
libavcodec-dev \
|
|
|
|
libavutil-dev \
|
|
|
|
libswscale-dev \
|
2020-05-02 23:21:58 +00:00
|
|
|
libboost-all-dev \
|
2020-05-06 06:28:32 +00:00
|
|
|
liblz4-dev \
|
2020-11-18 06:18:38 +00:00
|
|
|
libmbedtls-dev \
|
|
|
|
libopus-dev \
|
2020-04-25 00:12:02 +00:00
|
|
|
libsdl2-dev \
|
|
|
|
libssl-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-07-19 11:26:50 +00:00
|
|
|
qttools5-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-11-18 06:18:38 +00: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 02:22:08 +00:00
|
|
|
USER 1027
|
2020-09-27 19:23:19 +00:00
|
|
|
RUN conan install catch2/2.13.0@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
2020-11-18 06:18:38 +00:00
|
|
|
conan install fmt/7.1.2@ -s compiler.libcxx=libstdc++11 --build=missing && \
|
2020-09-27 19:23:19 +00:00
|
|
|
conan install nlohmann_json/3.9.1@ -s compiler.libcxx=libstdc++11 --build=missing
|