Zelda64Recomp/.devcontainer/Dockerfile

17 lines
647 B
Docker
Raw Normal View History

2024-05-19 11:53:34 +00:00
FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-22.04
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends ninja-build libsdl2-dev libgtk-3-dev lld llvm clang-15
ARG INSTALL_SDL2_VERSION_FROM_SOURCE="2.26.1"
COPY ./install-sdl2.sh /tmp/
RUN if [ "${INSTALL_SDL2_VERSION_FROM_SOURCE}" != "none" ]; then \
2024-05-19 12:01:16 +00:00
chmod +x /tmp/install-sdl2.sh && /tmp/install-sdl2.sh ${INSTALL_SDL2_VERSION_FROM_SOURCE}; \
2024-05-19 11:53:34 +00:00
fi \
2024-05-19 12:01:16 +00:00
&& rm -f /tmp/install-sdl2.sh
2024-05-19 12:35:00 +00:00
2024-05-19 13:13:08 +00:00
COPY ./install-n64recomp.sh /tmp/
2024-05-19 12:35:00 +00:00
RUN chmod +x /tmp/install-n64recomp.sh && /tmp/install-n64recomp.sh
RUN rm -f /tmp/install-n64recomp.sh