Skip to content

Commit e3c159b

Browse files
authored
Fix permissions for IBM cloud cli plugin directory (#74)
set g=u for plugin path Signed-off-by: Tim Robinson <timroster@gmail.com>
1 parent 24da904 commit e3c159b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Dockerfile-alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ RUN curl -fsSL https://clis.cloud.ibm.com/install/linux | sh && \
2727
ibmcloud plugin install container-registry -f && \
2828
ibmcloud plugin install observe-service -f && \
2929
if [[ "$TARGETPLATFORM" != "linux/arm64" ]]; then ibmcloud plugin install vpc-infrastructure -f; fi && \
30-
ibmcloud config --check-version=false
30+
ibmcloud config --check-version=false && \
31+
chmod -R g=u ${HOME}
3132

3233
WORKDIR ${HOME}
3334

Dockerfile-fedora

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ RUN curl -fsSL https://clis.cloud.ibm.com/install/linux | sh && \
2727
ibmcloud plugin install container-registry -f && \
2828
ibmcloud plugin install observe-service -f && \
2929
if [[ "$TARGETPLATFORM" != "linux/arm64" ]]; then ibmcloud plugin install vpc-infrastructure -f; fi && \
30-
ibmcloud config --check-version=false
30+
ibmcloud config --check-version=false && \
31+
chmod -R g=u ${HOME}

0 commit comments

Comments
 (0)