Update gcc for linux build (#8950)

* update gcc for linux build

* fix docker compile
This commit is contained in:
Anthony Dresser
2020-01-24 10:25:11 -08:00
committed by Karl Burtram
parent b02bf17d1f
commit 7e0c7e35a1

View File

@@ -2,12 +2,17 @@
FROM ubuntu:16.04
# Update Software repository
RUN apt-get update --fix-missing
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0 \
libkrb5-dev git apt-transport-https ca-certificates curl gnupg-agent software-properties-common \
libnss3 libasound2 make gcc libx11-dev fakeroot rpm
RUN rm /usr/bin/gcc
RUN rm /usr/bin/g++
RUN ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
RUN ln -s /usr/bin/g++-4.8 /usr/bin/g++
#docker
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN apt-key fingerprint 0EBFCD88