11FROM debian:12
22LABEL version="0.2.4-alpha"
33LABEL vendor1="DanteyPL"
4+
5+ LABEL org.opencontainers.image.licenses="GPL-3.0"
6+ LABEL org.opencontainers.image.source="https://github.com/introkun/netpass-docker-builder"
7+ LABEL org.opencontainers.image.version="0.2.4-alpha-fork1"
8+ LABEL vendor2="introkun"
9+
410ARG DEBIAN_FRONTEND=noninteractive
511# Install required packages to install dkp
612RUN apt-get update && apt-get install -y \
@@ -21,28 +27,34 @@ RUN echo "export DEVKITPRO=/opt/devkitpro" >> ~/.bashrc \
2127 && echo "export DEVKITARM=/opt/devkitpro/devkitARM" >> ~/.bashrc \
2228 && echo "export PATH=$PATH:/opt/devkitpro/devkitARM/bin" >> ~/.bashrc
2329# Adding required enviroment variables
24- ENV DEVKITPRO /opt/devkitpro
25- ENV DEVKITARM /opt/devkitpro/devkitARM
30+ ENV DEVKITPRO=/opt/devkitpro
31+ ENV DEVKITARM=/opt/devkitpro/devkitARM
32+ ENV PATH="$PATH:/opt/devkitpro/devkitARM/bin"
2633# Install netpass packages dependencies
2734RUN apt-get update && apt-get --no-install-recommends install -y \
2835 ffmpeg \
36+ git \
2937 python3 \
3038 python3-pip
3139# Install Python requirements
3240RUN pip install PyYAML --break-system-packages
33- # Link pyton3 to python
41+ # Link python3 to python
3442RUN ln -s $(which python3) /usr/bin/python
3543
3644RUN wget https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.18.4/makerom-v0.18.4-ubuntu_x86_64.zip
3745RUN unzip makerom-v0.18.4-ubuntu_x86_64.zip -d $DEVKITPRO/tools/bin/
38- RUN chmod +x $DEVKITPRO/tools/bin/makerom
46+ RUN chmod +x $DEVKITPRO/tools/bin/makerom
3947
4048RUN wget https://github.com/diasurgical/bannertool/releases/download/1.2.0/bannertool.zip
4149RUN unzip bannertool.zip -d ./
4250RUN cp ./linux-x86_64/bannertool $DEVKITPRO/tools/bin/
4351
4452COPY ./docker-entrypoint.sh ./
53+
4554# Clean package cache and list
4655RUN rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
56+ RUN rm makerom-v0.18.4-ubuntu_x86_64.zip bannertool.zip
57+
4758WORKDIR /build/source
59+ RUN chmod +x /build/docker-entrypoint.sh
4860ENTRYPOINT [ "/build/docker-entrypoint.sh" ]
0 commit comments