This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch branch-4.7
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/branch-4.7 by this push:
new 3b2c8f7 [DOCKER] update package to 4.7.2 in dockerfile
3b2c8f7 is described below
commit 3b2c8f749ca7a1f3bf63601b1649ed6a70408563
Author: Sijie Guo <[email protected]>
AuthorDate: Tue Sep 4 13:40:05 2018 -0700
[DOCKER] update package to 4.7.2 in dockerfile
Descriptions of the changes in this PR:
### Motivation
We need to generate 4.7.2 docker image.
Author: Sijie Guo <[email protected]>
Reviewers: Enrico Olivelli <[email protected]>, Matteo Merli
<[email protected]>
This closes #1644 from sijie/update_docker_image_47
(cherry picked from commit 8326b3033390d649261aae2f3576bb7f922f1f3e)
Signed-off-by: Sijie Guo <[email protected]>
---
docker/Dockerfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 8c7f255..6257b8b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -20,7 +20,7 @@
FROM centos:7
MAINTAINER Apache BookKeeper <[email protected]>
-ARG BK_VERSION=4.7.1
+ARG BK_VERSION=4.7.2
ARG DISTRO_NAME=bookkeeper-server-${BK_VERSION}-bin
ARG GPG_KEY=FD74402C
@@ -39,13 +39,13 @@ RUN set -x \
&& cd /opt \
&& wget -q
"https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz"
\
&& wget -q
"https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz.asc"
\
- && wget -q
"https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz.sha1"
\
- && sha1sum -c ${DISTRO_NAME}.tar.gz.sha1 \
+ && wget -q
"https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz.sha512"
\
+ && sha512sum -c ${DISTRO_NAME}.tar.gz.sha512 \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-key "$GPG_KEY" \
&& gpg --batch --verify "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz" \
&& 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.sha1" \
+ && rm -rf "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc"
"$DISTRO_NAME.tar.gz.sha512" \
&& yum remove -y wget \
&& yum clean all