-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathDockerfile
35 lines (28 loc) · 1.46 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM debian:bullseye-slim
LABEL maintainer="devkitPro developers support@devkitpro.org"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y --no-install-recommends apt-utils && \
apt-get install -y --no-install-recommends sudo ca-certificates pkg-config curl wget bzip2 xz-utils make libarchive-tools doxygen gnupg && \
apt-get install -y --no-install-recommends git git-restore-mtime && \
apt-get install -y --no-install-recommends rsync && \
apt-get install -y --no-install-recommends cmake zip unzip ninja-build && \
apt-get install -y --no-install-recommends python3 python-is-python3 python3-lz4 && \
apt-get install -y --no-install-recommends locales && \
apt-get install -y --no-install-recommends patch && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN ln -s /proc/mounts /etc/mtab && \
wget https://apt.devkitpro.org/install-devkitpro-pacman && \
chmod +x ./install-devkitpro-pacman && \
./install-devkitpro-pacman && \
rm ./install-devkitpro-pacman && \
dkp-pacman -Syyu --noconfirm && \
dkp-pacman -S --needed --noconfirm dkp-toolchain-vars dkp-meson-scripts && \
yes | dkp-pacman -Scc
ENV LANG=en_US.UTF-8
ENV DEVKITPRO=/opt/devkitpro
ENV PATH=${DEVKITPRO}/tools/bin:$PATH