Changing permissions should be the latest instruction

Change-Id: I6479d3e3073d0ffd52284cbf0a7f43828d9b73d0
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
6.19.x
Florent BENOIT 2018-10-09 11:57:22 +02:00
parent 9908d96ba4
commit f7ebd6e4fd
1 changed files with 2 additions and 3 deletions

View File

@ -60,15 +60,14 @@ RUN /tmp/builder/scripts/add-extensions.sh
ADD src/builder/assemble-theia.sh /tmp/builder/scripts/assemble-theia.sh
RUN /tmp/builder/scripts/assemble-theia.sh
# change permissions
RUN find ${HOME} -exec sh -c "chgrp 0 {}; chmod g+rwX {}" \;
# Clean
RUN yarn cache clean
# Restore registry setting
RUN npm config set registry https://registry.npmjs.org && yarn config set registry https://registry.npmjs.org
# change permissions
RUN find ${HOME} -exec sh -c "chgrp 0 {}; chmod g+rwX {}" \;
###
# Runtime Image