File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,8 @@ Resources:
62
62
phases:
63
63
install:
64
64
commands:
65
- - apt-get update -y
66
- - apt-get install -y software-properties-common
67
- - add-apt-repository ppa:ubuntu-toolchain-r/test
65
+ - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" > /etc/apt/sources.list.d/toolchain.list
66
+ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
68
67
- apt-get update -y
69
68
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
70
69
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
@@ -105,9 +104,8 @@ Resources:
105
104
phases:
106
105
install:
107
106
commands:
108
- - apt-get update -y
109
- - apt-get install -y software-properties-common
110
- - add-apt-repository ppa:ubuntu-toolchain-r/test
107
+ - echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu trusty main" > /etc/apt/sources.list.d/toolchain.list
108
+ - apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
111
109
- apt-get update -y
112
110
- apt-get install -y libwww-perl g++-5 flex bison git openjdk-7-jdk
113
111
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
You can’t perform that action at this time.
0 commit comments