-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDockerfile
36 lines (23 loc) · 943 Bytes
/
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
36
FROM ubuntu:18.04
RUN apt update && \
apt -y install git && \
apt -y install cmake && \
apt -y install wget && \
apt -y install gpg && \
apt -y install xz-utils
RUN apt -y install curl && \
apt -y install pkg-config
# NOTE: I am pulling the deb from one of my own releases. DevkitPro has deleted
# releases from their repository in the past, so I don't trust them to provide a
# stable download link.
RUN wget https://github.com/evanbowman/blind-jump-portable/releases/download/0.0.1/devkitpro-pacman.amd64.deb && \
dpkg -i devkitpro-pacman.amd64.deb && \
dkp-pacman -S --noconfirm gba-dev
ENV DEVKITPRO=/opt/devkitpro
ENV DEVKITARM=${DEVKITPRO}/devkitARM
ENV DEVKITPPC=${DEVKITPRO}/devkitPPC
WORKDIR /root
RUN git clone https://github.com/evanbowman/blind-jump-portable.git
WORKDIR /root/blind-jump-portable/build
RUN cmake -DCMAKE_TOOLCHAIN_FILE=$(pwd)/devkitarm.cmake .
ENTRYPOINT ["/bin/bash"]