mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Update gcc for linux build (#8950)
* update gcc for linux build * fix docker compile
This commit is contained in:
committed by
Karl Burtram
parent
b02bf17d1f
commit
7e0c7e35a1
@@ -2,12 +2,17 @@
|
|||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
# Update Software repository
|
# 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 \
|
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 \
|
libkrb5-dev git apt-transport-https ca-certificates curl gnupg-agent software-properties-common \
|
||||||
libnss3 libasound2 make gcc libx11-dev fakeroot rpm
|
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
|
#docker
|
||||||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||||
RUN apt-key fingerprint 0EBFCD88
|
RUN apt-key fingerprint 0EBFCD88
|
||||||
|
|||||||
Reference in New Issue
Block a user