Changing permissions should be the latest instruction
Change-Id: I6479d3e3073d0ffd52284cbf0a7f43828d9b73d0 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>6.19.x
parent
9908d96ba4
commit
f7ebd6e4fd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue