add docker file for CI

https://github.com/devkitPro/pacman/issues/31
This commit is contained in:
Peter Galonza 2024-05-13 23:47:47 +03:00
parent 05ef818c32
commit 8c98f0f820
2 changed files with 16 additions and 0 deletions

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM devkitpro/devkita64:latest
WORKDIR /app/
COPY ./requirements.txt /opt/requirements.txt
RUN apt-get install -y --no-install-recommends python3-venv && \
python3 -m venv /opt/venv && \
. /opt//venv/bin/activate && \
pip install -r /opt/requirements.txt
RUN dkp-pacman -S --needed --noconfirm \
switch-glm switch-libjpeg-turbo \
devkitarm-rules devkitA64 hactool

2
requirements.txt Normal file
View file

@ -0,0 +1,2 @@
lz4==4.3.3
pycryptodome==3.20.0