mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-26 13:30:17 +00:00
16 lines
511 B
Docker
16 lines
511 B
Docker
FROM devkitpro/devkita64
|
|
|
|
# Add non-privileged build user
|
|
RUN useradd -m -s /bin/bash -G sudo build; passwd -d build
|
|
|
|
# Install fakeroot and updated git
|
|
RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/stretch-backports.list &&\
|
|
apt-get update &&\
|
|
apt-get -t stretch-backports -y install git fakeroot
|
|
|
|
# Install devkitpro-pkgbuild-helpers
|
|
RUN dkp-pacman -S --noconfirm devkitpro-pkgbuild-helpers
|
|
|
|
COPY build.sh /home/build/build.sh
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|