-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
27 lines (21 loc) · 898 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
FROM debian:stretch
MAINTAINER Aaron Hansen <[email protected]>
# Copied/adapted from https://github.com/devkitPro/docker/blob/master/devkitarm/Dockerfile
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y apt-utils vim && \
apt-get install -y --no-install-recommends sudo ca-certificates pkg-config curl wget bzip2 xz-utils make git bsdtar doxygen gnupg && \
apt-get clean
RUN wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.2/devkitpro-pacman.deb && \
dpkg -i devkitpro-pacman.deb && \
rm devkitpro-pacman.deb && \
dkp-pacman -Scc --noconfirm
ENV DEVKITPRO=/opt/devkitpro
ENV PATH=${DEVKITPRO}/tools/bin:$PATH
RUN dkp-pacman -Syyu --noconfirm gba-dev && \
dkp-pacman -Scc --noconfirm
ENV DEVKITARM=${DEVKITPRO}/devkitARM
RUN mkdir /gba
COPY wav2c /usr/local/bin
VOLUME ["/gba"]
CMD cd /gba && make