mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-09-13 03:25:36 -05:00
25 lines
923 B
Docker
25 lines
923 B
Docker
FROM devkitpro/devkitarm:20260610
|
|
|
|
LABEL author="Striaton Lab Team"
|
|
LABEL name="Poke Transporter GB"
|
|
|
|
# uid and gid are overwritten by build command
|
|
ARG USER=docker
|
|
ARG UID
|
|
ARG GID
|
|
RUN groupadd -g $GID $USER
|
|
RUN useradd -m -u ${UID} -g ${GID} ${USER}
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive"
|
|
ENV IS_PTGB=true
|
|
|
|
RUN apt-get update && apt-get install -y sudo build-essential cmake bison flex pkg-config libpng-dev git python3-pip jq && pip install --root-user-action=ignore pandas requests openpyxl debugpy pypng --break-system-packages
|
|
|
|
RUN echo "${USER} ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/${USER} && chmod 0440 /etc/sudoers.d/${USER}
|
|
|
|
RUN mkdir -p rgbds && curl -fsSL https://github.com/gbdev/rgbds/releases/download/v1.0.2+hotfix/rgbds-linux-x86_64.tar.xz | tar -xJ -C rgbds && cd rgbds && ./install.sh
|
|
|
|
RUN git config --global --add safe.directory /ptgb
|
|
|
|
USER ${UID}:${GID}
|
|
WORKDIR /home/${USER} |