You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/02/14 16:08:13 UTC
[incubator-pulsar] branch master updated: Force to pull docker
build image to regenerate PulsarApi.java generate_protobuf_docker.sh
(#1228)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 4592b76 Force to pull docker build image to regenerate PulsarApi.java generate_protobuf_docker.sh (#1228)
4592b76 is described below
commit 4592b767ae8f6b0ff3a7ed29b2c476c3c9a71bd6
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Wed Feb 14 08:08:09 2018 -0800
Force to pull docker build image to regenerate PulsarApi.java generate_protobuf_docker.sh (#1228)
---
pulsar-common/generate_protobuf_docker.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pulsar-common/generate_protobuf_docker.sh b/pulsar-common/generate_protobuf_docker.sh
index c568c9a..376d72e 100755
--- a/pulsar-common/generate_protobuf_docker.sh
+++ b/pulsar-common/generate_protobuf_docker.sh
@@ -32,6 +32,9 @@ IMAGE="$BUILD_IMAGE_NAME:$BUILD_IMAGE_VERSION"
echo $IMAGE
+# Force to pull image in case it was updated
+docker pull $IMAGE
+
docker run -i \
-v ${COMMON_DIR}:${COMMON_DIR} $IMAGE \
bash -c "cd ${COMMON_DIR}; /pulsar/protobuf/src/protoc --java_out=src/main/java src/main/proto/PulsarApi.proto"
--
To stop receiving notification emails like this one, please contact
mmerli@apache.org.