68 lines
1.8 KiB
Docker
Raw Normal View History

2023-05-02 05:21:29 -07:00
FROM debian:bullseye-backports
LABEL maintainer="citraemu"
2023-05-08 22:12:22 +03:00
ENV DEBIAN_FRONTEND=noninteractive
# Create a user account citra (UID 1027) that the container will run as
2023-05-02 05:21:29 -07:00
RUN useradd -m -u 1027 -s /bin/bash citra
# Update system and install packages for building Citra.
RUN apt-get update && apt-get full-upgrade -y -t bullseye-backports
RUN apt-get install -y -t bullseye-backports \
build-essential \
libsdl2-dev \
2023-05-02 05:21:29 -07:00
libssl-dev \
# Qt 5
qtbase5-dev \
qtbase5-private-dev \
libqt5opengl5-dev \
qtmultimedia5-dev \
qttools5-dev \
qttools5-dev-tools \
2023-05-02 05:21:29 -07:00
qt5-gtk-platformtheme \
qt5ct \
qt5-style-plugins \
libqt5opengl5-dev \
libqt5multimedia5-plugins \
# Qt 6
qt6-base-dev \
qt6-base-private-dev \
qt6-multimedia-dev \
qt6-l10n-tools \
qt6-tools-dev \
qt6-tools-dev-tools \
qt6-gtk-platformtheme \
qt6-wayland \
# FFmpeg
ffmpeg \
libavcodec-dev \
2023-05-02 05:21:29 -07:00
libavdevice-dev \
libavfilter-dev \
libavformat-dev \
2023-05-02 05:21:29 -07:00
libswresample-dev \
libswscale-dev \
2023-05-02 05:21:29 -07:00
# Tools
cmake \
p7zip-full \
wget \
2023-05-08 22:12:22 +03:00
unzip \
git \
ccache \
ninja-build \
glslang-dev \
glslang-tools \
2023-05-02 05:21:29 -07:00
file
2023-05-08 22:12:22 +03:00
# Install glslang
RUN cd /tmp
RUN wget https://github.com/KhronosGroup/glslang/releases/download/main-tot/glslang-main-linux-Release.zip
RUN unzip glslang-main-linux-Release.zip -d glslang
RUN cp -rv glslang/* /usr
run rm -rf glslang-*
2023-05-02 05:21:29 -07:00
# Download tools for building AppImages
RUN wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
RUN wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
RUN chmod a+x linuxdeploy-x86_64.AppImage
RUN chmod a+x linuxdeploy-plugin-qt-x86_64.AppImage