merlimat closed pull request #1228: Force to pull docker build image to 
regenerate PulsarApi.java generat?
URL: https://github.com/apache/incubator-pulsar/pull/1228
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-common/generate_protobuf_docker.sh 
b/pulsar-common/generate_protobuf_docker.sh
index c568c9a07..376d72e4c 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"


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to