You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2018/11/09 00:09:00 UTC
incubator-ratis git commit: RATIS-398. Update Dockerfile.
Repository: incubator-ratis
Updated Branches:
refs/heads/master 1d07b18ed -> cce89d059
RATIS-398. Update Dockerfile.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/cce89d05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/cce89d05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/cce89d05
Branch: refs/heads/master
Commit: cce89d0594c223c9fac80654f9bc9b35832197ab
Parents: 1d07b18
Author: Tsz Wo Nicholas Sze <sz...@apache.org>
Authored: Thu Nov 8 16:08:20 2018 -0800
Committer: Tsz Wo Nicholas Sze <sz...@apache.org>
Committed: Thu Nov 8 16:08:20 2018 -0800
----------------------------------------------------------------------
dev-support/docker/Dockerfile | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/cce89d05/dev-support/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 8381a21..d6e9e3b 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -36,8 +36,8 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
curl \
unzip \
git \
- wget \
- rsync
+ wget \
+ rsync
# wget configuration
@@ -52,22 +52,22 @@ RUN echo "quiet = on" >> "/root/.wgetrc"
RUN apt-get -q install -y openjdk-8-jdk
######
-# Install protobuf compiler 3.1
+# Install protobuf compiler
######
RUN mkdir -p $HOME/protobuf && \
- cd $HOME/protobuf && wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip && \
- unzip protoc-3.1.0-linux-x86_64.zip && \
- mv $HOME/protobuf/bin/protoc /usr/local/bin && \
- chmod 755 /usr/local/bin/protoc
-
+ cd $HOME/protobuf && \
+ wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip && \
+ unzip protoc-3.5.0-linux-x86_64.zip && \
+ mv $HOME/protobuf/bin/protoc /usr/local/bin && \
+ chmod 755 /usr/local/bin/protoc
######
# Install Apache Maven
######
RUN mkdir -p /opt/maven && \
curl -L -s -S \
- http://www-us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz \
+ http://www-us.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz \
-o /opt/maven.tar.gz && \
tar xzf /opt/maven.tar.gz --strip-components 1 -C /opt/maven
ENV MAVEN_HOME /opt/maven