mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Update Dockerfile
fix docker build failing
This commit is contained in:
parent
7a9565feef
commit
72adc97cae
|
|
@ -9,6 +9,7 @@ RUN apt-get update \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y \
|
&& apt-get install -y \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
gcc-14 g++-14 \
|
||||||
python3 \
|
python3 \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
meson \
|
meson \
|
||||||
|
|
@ -16,6 +17,9 @@ RUN apt-get update \
|
||||||
libgl-dev \
|
libgl-dev \
|
||||||
libglu1-mesa-dev \
|
libglu1-mesa-dev \
|
||||||
libpthread-stubs0-dev \
|
libpthread-stubs0-dev \
|
||||||
|
# Set GCC 14 as the default compiler
|
||||||
|
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 \
|
||||||
|
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100 \
|
||||||
# Clean up lol
|
# Clean up lol
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
&& apt-get clean -y \
|
&& apt-get clean -y \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue