You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2017/08/12 01:42:38 UTC
[bookkeeper] 04/04: ISSUE #418: bump docker to use bk - 4.5.0
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to tag release-4.5.0
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 0ed116f4f3e7f74e45bb96a4c5aee5c11a708ecc
Author: zhaijack <zh...@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 <zh...@gmail.com>
Reviewers: Enrico Olivelli <eo...@gmail.com>, Francesco Caliumi <None>
This closes #436 from zhaijack/issue_418, closes #418
(cherry picked from commit 739540896357e0079a946b95881a3cef4e6f9a72)
Signed-off-by: Sijie Guo <si...@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 <de...@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" <co...@bookkeeper.apache.org>.