Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: third_party/protobuf/protoc-artifacts/Dockerfile

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/protobuf/protobuf_nacl.gyp ('k') | third_party/protobuf/protoc-artifacts/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 FROM centos:6.6
2
3 RUN yum install -y git \
4 tar \
5 wget \
6 make \
7 autoconf \
8 curl-devel \
9 unzip \
10 automake \
11 libtool \
12 glibc-static.i686 \
13 glibc-devel \
14 glibc-devel.i686
15
16 # Install Java 8
17 RUN wget -q --no-cookies --no-check-certificate \
18 --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=acce pt-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jd k-8u45-linux-x64.tar.gz" \
19 -O - | tar xz -C /var/local
20 ENV JAVA_HOME /var/local/jdk1.8.0_45
21 ENV PATH $JAVA_HOME/bin:$PATH
22
23 # Install Maven
24 RUN wget -q http://apache.cs.utah.edu/maven/maven-3/3.3.3/binaries/apache-maven- 3.3.3-bin.tar.gz -O - | \
25 tar xz -C /var/local
26 ENV PATH /var/local/apache-maven-3.3.3/bin:$PATH
27
28 # Install GCC 4.7 to support -static-libstdc++
29 RUN wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -P /etc/yum .repos.d
30 RUN bash -c 'echo "enabled=1" >> /etc/yum.repos.d/devtools-1.1.repo'
31 RUN bash -c "sed -e 's/\$basearch/i386/g' /etc/yum.repos.d/devtools-1.1.repo > / etc/yum.repos.d/devtools-i386-1.1.repo"
32 RUN sed -e 's/testing-/testing-i386-/g' -i /etc/yum.repos.d/devtools-i386-1.1.re po
33 RUN yum install -y devtoolset-1.1 \
34 devtoolset-1.1-libstdc++-devel \
35 devtoolset-1.1-libstdc++-devel.i686
36
37 RUN git clone --depth 1 https://github.com/google/protobuf.git
38
39 # Start in devtoolset environment that uses GCC 4.7
40 CMD ["scl", "enable", "devtoolset-1.1", "bash"]
OLDNEW
« no previous file with comments | « third_party/protobuf/protobuf_nacl.gyp ('k') | third_party/protobuf/protoc-artifacts/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698