diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-03-31 14:04:29 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-03-31 14:04:29 -0700 |
commit | 32ad5a3e0d1a38440945a759a0dcb6245ac836d8 (patch) | |
tree | 13587e52c1444aa2efe5c16b1ba1a78e4e7e3572 /jenkins/docker | |
parent | b7c813fb67706c683f14b808679c9657b29c5a6e (diff) | |
download | protobuf-32ad5a3e0d1a38440945a759a0dcb6245ac836d8.tar.gz protobuf-32ad5a3e0d1a38440945a759a0dcb6245ac836d8.tar.bz2 protobuf-32ad5a3e0d1a38440945a759a0dcb6245ac836d8.zip |
Use "git reset --hard" to actually reset the code.
Diffstat (limited to 'jenkins/docker')
-rw-r--r-- | jenkins/docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jenkins/docker/Dockerfile b/jenkins/docker/Dockerfile index d75d4cef..685c05d6 100644 --- a/jenkins/docker/Dockerfile +++ b/jenkins/docker/Dockerfile @@ -129,7 +129,7 @@ ENV MVN mvn --batch-mode RUN cd /tmp && \ git clone https://github.com/google/protobuf.git && \ cd protobuf && \ - git reset c2b3b3e04e7a023efe06f2107705b45428847800 && \ + git reset --hard c2b3b3e04e7a023efe06f2107705b45428847800 && \ ./autogen.sh && \ ./configure && \ make -j4 && \ @@ -157,7 +157,7 @@ RUN cd /tmp && \ rm -rf protobuf && \ git clone https://github.com/google/protobuf.git && \ cd protobuf && \ - git reset 46ae90dc5e145b12fffa7e053a908a9f3e066286 && \ + git reset --hard 46ae90dc5e145b12fffa7e053a908a9f3e066286 && \ cd php && \ ln -sfn /usr/local/php-5.5/bin/php /usr/bin/php && \ ln -sfn /usr/local/php-5.5/bin/php-config /usr/bin/php-config && \ |