We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50caae4 commit ec5c11bCopy full SHA for ec5c11b
ubuntu/xenial/Dockerfile
@@ -40,5 +40,16 @@ RUN apt-get update && apt-get install -y --force-yes \
40
alien \
41
dh-systemd
42
43
+# Install gcc-8
44
+RUN apt-get update -y && \
45
+ apt-get upgrade -y && \
46
+ apt-get dist-upgrade -y && \
47
+ apt-get install build-essential software-properties-common zlib1g-dev -y && \
48
+ add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
49
+ apt-get update -y && \
50
+ apt-get install gcc-8 g++-8 -y && \
51
+ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8 && \
52
+ update-alternatives --config gcc
53
+
54
# Enable sudo without password
55
RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
0 commit comments