Update GCC to 13 in Docker
This commit is contained in:
parent
0ee0ffa7f1
commit
3adbfb1fb5
|
@ -24,14 +24,14 @@ RUN dnf -y install epel-release \
|
||||||
&& dnf -y install autoconf automake libtool pkgconfig make patch git \
|
&& dnf -y install autoconf automake libtool pkgconfig make patch git \
|
||||||
python3.11-pip python3.11-devel gperf flex bison clang lld yasm \
|
python3.11-pip python3.11-devel gperf flex bison clang lld yasm \
|
||||||
file which perl-open perl-XML-Parser xorg-x11-util-macros \
|
file which perl-open perl-XML-Parser xorg-x11-util-macros \
|
||||||
gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-binutils \
|
gcc-toolset-13-gcc gcc-toolset-13-gcc-c++ gcc-toolset-13-binutils \
|
||||||
libffi-devel fontconfig-devel freetype-devel libX11-devel \
|
libffi-devel fontconfig-devel freetype-devel libX11-devel \
|
||||||
alsa-lib-devel pulseaudio-libs-devel mesa-libGL-devel mesa-libEGL-devel \
|
alsa-lib-devel pulseaudio-libs-devel mesa-libGL-devel mesa-libEGL-devel \
|
||||||
mesa-libgbm-devel libdrm-devel vulkan-devel libva-devel libvdpau-devel \
|
mesa-libgbm-devel libdrm-devel vulkan-devel libva-devel libvdpau-devel \
|
||||||
glib2-devel at-spi2-core-devel gtk3-devel boost1.78-devel fmt-devel \
|
glib2-devel at-spi2-core-devel gtk3-devel boost1.78-devel fmt-devel \
|
||||||
&& dnf clean all
|
&& dnf clean all
|
||||||
|
|
||||||
SHELL [ "bash", "-c", ". /opt/rh/gcc-toolset-12/enable; exec bash -c \"$@\"", "-s"]
|
SHELL [ "bash", "-c", ". /opt/rh/gcc-toolset-13/enable; exec bash -c \"$@\"", "-s"]
|
||||||
|
|
||||||
WORKDIR {{ LibrariesPath }}
|
WORKDIR {{ LibrariesPath }}
|
||||||
|
|
||||||
|
@ -906,5 +906,5 @@ ENV BOOST_INCLUDEDIR /usr/include/boost1.78
|
||||||
ENV BOOST_LIBRARYDIR /usr/lib64/boost1.78
|
ENV BOOST_LIBRARYDIR /usr/lib64/boost1.78
|
||||||
|
|
||||||
VOLUME [ "/usr/src/tdesktop" ]
|
VOLUME [ "/usr/src/tdesktop" ]
|
||||||
ENTRYPOINT [ "scl", "enable", "gcc-toolset-12", "--" ]
|
ENTRYPOINT [ "scl", "enable", "gcc-toolset-13", "--" ]
|
||||||
CMD [ "/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh" ]
|
CMD [ "/usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh" ]
|
||||||
|
|
Loading…
Reference in New Issue