Merge pull request #2709 from abler98/fix/workspace/protoc
Fix protoc bin & include permissions in workspace
This commit is contained in:
commit
d8ef60d1a3
|
@ -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} && \
|
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 bin/protoc && \
|
||||||
unzip -q -o /tmp/protoc.zip -d /usr/local 'include/*' && \
|
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
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue