Created
October 30, 2018 22:29
-
-
Save hypevhs/75a3ac383b128091e938ab66363ce960 to your computer and use it in GitHub Desktop.
devkitPro arch linux development image (WIP)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#docker build -t "switchdev" ./switchdev | |
FROM archimg/base:full | |
MAINTAINER libjared | |
ENV DEVKITPRO /opt/devkitpro | |
ENV DEVKITARM /opt/devkitpro/devkitARM | |
ENV DEVKITPPC /opt/devkitpro/devkitPPC | |
RUN : \ | |
&& pacman-key --recv F7FD5492264BB9D0 \ | |
&& pacman-key --lsign F7FD5492264BB9D0 \ | |
&& echo $'\ | |
[dkp-libs]\n\ | |
Server = http://downloads.devkitpro.org/packages\n\ | |
[dkp-linux]\n\ | |
Server = http://downloads.devkitpro.org/packages/linux\n\ | |
' \ | |
>> /etc/pacman.conf \ | |
&& pacman --noconfirm -U https://downloads.devkitpro.org/devkitpro-keyring-r1.787e015-2-any.pkg.tar.xz \ | |
&& pacman --noconfirm --needed -Syu switch-dev \ | |
&& pacman --noconfirm --needed -S `pacman -Slq dkp-libs | grep '^switch-'` \ | |
&& pacman --noconfirm -Scc | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment