Skip to content

Commit a4963c8

Browse files
committed
Added g++ 8
1 parent 2a490a8 commit a4963c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ LABEL maintainer="[email protected]"
44

55
WORKDIR /project
66

7-
RUN echo "*** Installing gcc (4.9->7) and clang (3.8->6) ***" \
7+
RUN echo "*** Installing gcc (4.9->8) and clang (3.8->6) ***" \
88
&& DEBIAN_FRONTEND=noninteractive apt-get update \
99
&& apt-get dist-upgrade -y \
1010
&& echo "deb http://ftp.us.debian.org/debian jessie main contrib non-free" >> /etc/apt/sources.list.d/jessie.list \
1111
&& echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/unstable.list \
1212
&& apt-get update \
1313
&& apt-get install -y cmake \
14-
&& apt-get install -y g++-4.9 g++-5 g++-6 g++-7 \
14+
&& apt-get install -y g++-4.9 g++-5 g++-6 g++-7 g++-8 \
1515
&& apt-get install -y clang++-3.8 \
1616
&& apt-get install -y clang++-3.9 \
1717
&& apt-get install -y clang++-4.0 \
@@ -20,7 +20,7 @@ RUN echo "*** Installing gcc (4.9->7) and clang (3.8->6) ***" \
2020
&& apt-get autoremove --purge -y \
2121
&& apt-get autoclean -y \
2222
&& rm -rf /var/cache/apt/* /tmp/* \
23-
&& echo "Setting g++ 7 as default compiler" \
24-
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 1
23+
&& echo "Setting g++ 8 as default compiler" \
24+
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 1
2525

2626
ENTRYPOINT [ "/usr/bin/g++" ]

0 commit comments

Comments
 (0)