diff --git a/.ci/openshift-ci/Dockerfile b/.ci/openshift-ci/Dockerfile index 03ef2c3d63..a4ca088d55 100644 --- a/.ci/openshift-ci/Dockerfile +++ b/.ci/openshift-ci/Dockerfile @@ -22,8 +22,8 @@ RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs psmisc py dnf update -y && dnf clean all && \ npm install -g yarn@1.22 npm@9 && \ npm install @eclipse-che/che-devworkspace-generator@latest && \ - chgrp -R 0 /opt/app-root/src/.npm-global /opt/app-root/src/.npm && \ - chmod -R g+rwX /opt/app-root/src/.npm-global /opt/app-root/src/.npm && \ + chgrp -R 0 /opt/app-root/src/ && chmod -R g=u /opt/app-root/src/ && \ + touch /opt/app-root/src/b && \ echo -n "node version: "; node -v; \ echo -n "npm version: "; npm -v; diff --git a/.ci/openshift-ci/build/Dockerfile b/.ci/openshift-ci/build/Dockerfile index 6d1de52aca..93fd7af0d2 100644 --- a/.ci/openshift-ci/build/Dockerfile +++ b/.ci/openshift-ci/build/Dockerfile @@ -33,6 +33,9 @@ RUN dnf install -y -q --allowerasing --nobest nodejs-devel nodejs-libs psmisc py echo -n "npm version: "; npm -v; \ echo -n "yarn version: "; yarn -v; +RUN chgrp -R 0 /opt/app-root/src/ && chmod -R g=u /opt/app-root/src/ && + touch /opt/app-root/src/a + # Generate editors' metadata RUN ./build.sh --skip-oci-image --skip-digest-generation