From be1c9c9cd6d8cdae48b468ca27821d644fc2419a Mon Sep 17 00:00:00 2001 From: James De Ricco Date: Sat, 14 Oct 2023 00:46:32 -0400 Subject: [PATCH] Add Dockerfile for a toolbox dev environment --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..c8e7bbba34d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +# Build a image for use with toolbox (https://containertoolbx.org/) +# that supports building, running, and debugging supertux + +# GTK3 is installed to fix a segfault when starting supertux. +# It or one of its dependencies fixes the crash. + +FROM --platform=amd64 registry.fedoraproject.org/fedora-toolbox:38 +RUN sudo dnf -y install cmake gcc-c++ gdb SDL2{,-devel} libGLEW glew{,-devel} libogg{,-devel} freetype{,-devel} glm-devel zlib{,-devel} SDL2_image{,-devel} libvorbis{,-devel} libcurl{,-devel}.x86_64 openal{,-devel} gtk3