mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-21 18:55:16 +00:00
use devkitpro docker image
installing it via pacman everytime is unsupported and will lead to http 403 errors.
This commit is contained in:
parent
36f9343f83
commit
6a5b5146b8
1 changed files with 2 additions and 15 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,26 +1,13 @@
|
||||||
FROM ubuntu:20.04 as builder
|
FROM devkitpro/devkita64:latest as builder
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
curl \
|
|
||||||
apt-transport-https \
|
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
&& pip install keystone-engine \
|
&& pip3 install keystone-engine \
|
||||||
;
|
|
||||||
|
|
||||||
# install devkitpro
|
|
||||||
RUN ln -s /proc/self/mounts /etc/mtab \
|
|
||||||
&& mkdir /devkitpro/ \
|
|
||||||
&& echo "deb [signed-by=/devkitpro/pub.gpg] https://apt.devkitpro.org stable main" >/etc/apt/sources.list.d/devkitpro.list \
|
|
||||||
&& curl --fail -o /devkitpro/pub.gpg https://apt.devkitpro.org/devkitpro-pub.gpg \
|
|
||||||
&& apt-get update \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y devkitpro-pacman \
|
|
||||||
&& dkp-pacman --noconfirm -S switch-dev \
|
|
||||||
;
|
;
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
ENV DEVKITPRO /opt/devkitpro
|
|
||||||
ENTRYPOINT make
|
ENTRYPOINT make
|
||||||
|
|
Loading…
Reference in a new issue