jasper/Dockerfile
Gary Talent cf0d078a1e Squashed 'deps/nostalgia/' changes from 050339ba..e7a66390
e7a66390 [nostalgia/core/opengl] Fix duplicate and missing symbol
ffdc0ddb [nostalgia/core] Add support for specifying palette banks
e941781f [ox/std] Cleanup Result::copyTo variants
b869f490 [ox/std] Add or_value to Optional, Result
caf8d93c [nostalgia] Delete .gitlab-ci.yml
afbf2caf [nostalgia] Remove conan from devenv
20914eaa [nostalgia] Add Gitea action file
c5f76ff5 [nostalgia/core] Add setBgBpp function

git-subtree-dir: deps/nostalgia
git-subtree-split: e7a663901a4db72b647263c9de2ec4a45dd2e5e5
2023-12-26 12:15:45 -06:00

69 lines
2.0 KiB
Docker

FROM fedora:36
RUN dnf update -y
###############################################################################
# Install gosu
RUN dnf install -y curl
RUN curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64"
RUN chmod +x /usr/local/bin/gosu
###############################################################################
# Install dev tools
RUN dnf install -y clang \
llvm \
libasan \
mingw64-gcc-c++ \
cmake \
make \
git \
vim \
sudo \
fuse-devel \
findutils \
ninja-build \
libcxx-devel libcxxabi-devel \
unzip \
ccache \
pacman \
python3-pip \
libglvnd-devel \
gtk3-devel
###############################################################################
# Install devkitARM
RUN pacman-key --init
RUN pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com
RUN pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0
RUN curl -o devkitpro-keyring.pkg.tar.xz https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz
RUN pacman -Syu --noconfirm
RUN pacman -U --noconfirm devkitpro-keyring.pkg.tar.xz
ADD devenv/pacman.conf /etc/pacman.conf
RUN pacman -Syu --noconfirm gba-dev
ENV DEVKITPRO /opt/devkitpro
ENV DEVKITARM /opt/devkitpro/devkitARM
###############################################################################
# Setup sudoers
ADD devenv/sudoers /etc/sudoers
###############################################################################
# Setup working directory
RUN mkdir /usr/src/project
WORKDIR /usr/src/project
###############################################################################
# Setup entrypoint
ADD devenv/entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
ENV CC clang
ENV CXX clang++
ENV VCPKG_DIR_BASE /var/vcpkg/