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 2018/04/17 19:04:22 UTC
[bookkeeper] 01/01: [RELEASE-4.7.0] update docker file
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to tag release-4.7.0
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit d4e972d87c7a66b692b8e5cfd5dca1e2baccc61c
Author: Sijie Guo <si...@apache.org>
AuthorDate: Tue Apr 17 11:41:04 2018 -0700
[RELEASE-4.7.0] update docker file
Descriptions of the changes in this PR:
update the release version from 4.6.0 to 4.7.0 and its corresponding gpg key
Author: Sijie Guo <si...@apache.org>
Reviewers: Enrico Olivelli <eo...@gmail.com>
This closes #1351 from sijie/update_docker_file
---
docker/Dockerfile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e35ef16..0d39b34 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.6.0
+ARG BK_VERSION=4.7.0
ARG DISTRO_NAME=bookkeeper-server-${BK_VERSION}-bin
-ARG GPG_KEY=3ECFCAC4
+ARG GPG_KEY=FD74402C
ENV BOOKIE_PORT=3181
EXPOSE $BOOKIE_PORT
@@ -36,15 +36,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.md5" \
&& wget -q "https://archive.apache.org/dist/bookkeeper/bookkeeper-${BK_VERSION}/${DISTRO_NAME}.tar.gz.sha1" \
- && md5sum -c ${DISTRO_NAME}.tar.gz.md5 \
&& sha1sum -c ${DISTRO_NAME}.tar.gz.sha1 \
&& 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.md5" "$DISTRO_NAME.tar.gz.sha1" \
+ && rm -rf "$DISTRO_NAME.tar.gz" "$DISTRO_NAME.tar.gz.asc" "$DISTRO_NAME.tar.gz.sha1" \
&& yum remove -y wget \
&& yum clean all
--
To stop receiving notification emails like this one, please contact
sijie@apache.org.