bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [bookkeeper] branch branch-4.5 updated: ISSUE #418: bump docker to use bk - 4.5.0
Date Fri, 11 Aug 2017 22:39:01 GMT
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch branch-4.5
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.5 by this push:
     new 562380e  ISSUE #418: bump docker to use bk - 4.5.0
562380e is described below

commit 562380e7212d8135558513a35c701098684a9fe4
Author: zhaijack <zhaijia03@gmail.com>
AuthorDate: Fri Aug 11 15:38:28 2017 -0700

    ISSUE #418: bump docker to use bk - 4.5.0
    
    Descriptions of the changes in this PR:
    -  bump the docker image to use 4.5.0 binary, update pgp_key and bk version.
    -  delete yum install for md5sum and sha1sum, since they are already in coreutils, which
is default installed; and left them here will report error: 'No Match for argument: md5sum/sha1sum',
while 'yum remove' in docker build.
    
    have tested by running make run-dice.
    
    Author: zhaijack <zhaijia03@gmail.com>
    
    Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Francesco Caliumi <None>
    
    This closes #436 from zhaijack/issue_418, closes #418
    
    (cherry picked from commit 739540896357e0079a946b95881a3cef4e6f9a72)
    Signed-off-by: Sijie Guo <sijie@apache.org>
---
 docker/Dockerfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5a22bb6..2af5a61 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -20,9 +20,9 @@
 FROM centos:7
 MAINTAINER Apache BookKeeper <dev@bookkeeper.apache.org>
 
-ARG BK_VERSION=4.4.0
+ARG BK_VERSION=4.5.0
 ARG DISTRO_NAME=bookkeeper-server-${BK_VERSION}-bin
-ARG GPG_KEY=B3D56514
+ARG GPG_KEY=FD74402C
 
 ENV BOOKIE_PORT=3181
 EXPOSE $BOOKIE_PORT
@@ -31,7 +31,7 @@ ENV BK_USER=bookkeeper
 # Download Apache Bookkeeper, untar and clean up
 RUN set -x \
     && adduser "${BK_USER}" \
-    && yum install -y java-1.8.0-openjdk-headless wget bash python md5sum sha1sum
sudo \
+    && yum install -y java-1.8.0-openjdk-headless wget bash python sudo \
     && mkdir -pv /opt \
     && cd /opt \
     && wget -q "https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz"
\
@@ -45,7 +45,7 @@ RUN set -x \
     && tar -xzf "$DISTRO_NAME.tar.gz" \
     && mv bookkeeper-server-${BK_VERSION}/ /opt/bookkeeper/ \
     && rm -rf "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz.md5"
"$DISTRO_NAME.tar.gz.sha1" \
-    && yum remove -y wget md5sum sha1sum \
+    && yum remove -y wget \
     && yum clean all
 
 WORKDIR /opt/bookkeeper

-- 
To stop receiving notification emails like this one, please contact
['"commits@bookkeeper.apache.org" <commits@bookkeeper.apache.org>'].

Mime
View raw message