Merge pull request #2709 from abler98/fix/workspace/protoc

Fix protoc bin & include permissions in workspace
This commit is contained in:
Shao Yu-Lung (Allen) 2020-09-22 09:37:58 +08:00 committed by GitHub
commit d8ef60d1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1404,7 +1404,9 @@ RUN if [ ${INSTALL_PROTOC} = true ]; then \
curl -L -o /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v${REAL_PROTOC_VERSION}/${PROTOC_ZIP} && \
unzip -q -o /tmp/protoc.zip -d /usr/local bin/protoc && \
unzip -q -o /tmp/protoc.zip -d /usr/local 'include/*' && \
rm -f /tmp/protoc.zip \
rm -f /tmp/protoc.zip && \
chmod +x /usr/local/bin/protoc && \
chmod -R +r /usr/local/include/google \
;fi
###########################################################################