Adjust permission during build time instead of run-time

This commit is contained in:
cytopia
2022-07-03 12:41:21 +02:00
parent 4b9739a99d
commit e0cb0c1f5d
15 changed files with 56 additions and 6 deletions

View File

@@ -184,6 +184,10 @@ RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; nvm install --lts' devilbox \
&& su -c '. /opt/nvm/nvm.sh; nvm use --lts' devilbox \
&& su -c '. /opt/nvm/nvm.sh; corepack enable' devilbox \
\
&& chmod 0777 /opt/nvm \
&& find /opt/nvm -type f -print0 | xargs -n1 -0 chmod go+w \
&& find /opt/nvm -type d -print0 | xargs -n1 -0 chmod 0777 \
\
\
# -------------------- pgsql_client --------------------