mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-12 20:17:13 +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 install -y \
|
||||
build-essential \
|
||||
gcc-14 g++-14 \
|
||||
python3 \
|
||||
ninja-build \
|
||||
meson \
|
||||
|
|
@ -16,6 +17,9 @@ RUN apt-get update \
|
|||
libgl-dev \
|
||||
libglu1-mesa-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
|
||||
&& apt-get autoremove -y \
|
||||
&& apt-get clean -y \
|
||||
|
|
|
|||
Loading…
Reference in a new issue