Skip to content
Snippets Groups Projects
Commit b1156288 authored by Valerio Formato's avatar Valerio Formato
Browse files

Update docker image

[skip ci]
parent be0e374f
Branches gi
No related tags found
No related merge requests found
Pipeline #194205 skipped
......@@ -13,10 +13,10 @@ RUN apt -y install libmpfr-dev libgmp3-dev libmpc-dev
RUN wget http://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.gz && tar -xf gcc-14.1.0.tar.gz
WORKDIR gcc-14.1.0
RUN ./configure -v --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --prefix=/usr/local/gcc-14.1.0 --enable-checking=release --enable-languages=c,c++ --disable-multilib --program-suffix=-14.1.0
RUN make -j4
RUN make -j10
RUN make install
RUN sudo update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14
RUN update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14 && update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14
WORKDIR /
......@@ -39,4 +39,4 @@ RUN apt -y install libssl-dev libkrb5-dev libboost-regex-dev libboost-thread-dev
COPY --from=builder /usr/local/ /usr/local
COPY --from=builder /PMS/software/install/ /PMS/software/install/
RUN sudo update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14
RUN update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14 && update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment