Explorar o código

Fix protoc bin & include permissions in workspace

abler98 %!s(int64=4) %!d(string=hai) anos
pai
achega
fbeabd03b0
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      workspace/Dockerfile

+ 3 - 1
workspace/Dockerfile

@@ -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
 
 ###########################################################################