30 lines
652 B
Docker
30 lines
652 B
Docker
# We use Fedora because it has the most up-to-date MinGW packages for Godot 4
|
|
FROM fedora:39
|
|
|
|
# Install Build Tools (GCC, MinGW, SCons, Yasm, Git)
|
|
# This covers Linux (GCC) and Windows (MinGW) compilation
|
|
RUN dnf -y install \
|
|
git \
|
|
scons \
|
|
make \
|
|
automake \
|
|
gcc \
|
|
gcc-c++ \
|
|
kernel-headers \
|
|
libX11-devel \
|
|
libXcursor-devel \
|
|
libXrandr-devel \
|
|
libXinerama-devel \
|
|
libXi-devel \
|
|
mesa-libGL-devel \
|
|
alsa-lib-devel \
|
|
pulseaudio-libs-devel \
|
|
libudev-devel \
|
|
mingw64-gcc \
|
|
mingw64-gcc-c++ \
|
|
mingw64-winpthreads-static \
|
|
yasm \
|
|
which \
|
|
&& dnf clean all
|
|
|
|
CMD ["/bin/bash"] |