diff --git a/php/Dockerfile.php74 b/php/Dockerfile.php74 index b9b5236..e0efc03 100644 --- a/php/Dockerfile.php74 +++ b/php/Dockerfile.php74 @@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php7.4 74 && \ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +USER coder + ENV NVM_DIR=/home/coder/.nvm RUN mkdir -p $NVM_DIR && \ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash -USER coder -WORKDIR /home/coder + +WORKDIR /home/coder \ No newline at end of file diff --git a/php/Dockerfile.php80 b/php/Dockerfile.php80 index acda138..c618a10 100644 --- a/php/Dockerfile.php80 +++ b/php/Dockerfile.php80 @@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.0 80 && \ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +USER coder + ENV NVM_DIR=/home/coder/.nvm RUN mkdir -p $NVM_DIR && \ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash -USER coder -WORKDIR /home/coder + +WORKDIR /home/coder \ No newline at end of file diff --git a/php/Dockerfile.php82 b/php/Dockerfile.php82 index 89802cf..8f75c6f 100644 --- a/php/Dockerfile.php82 +++ b/php/Dockerfile.php82 @@ -31,9 +31,11 @@ RUN update-alternatives --install /usr/bin/php php /usr/bin/php8.2 82 && \ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer +USER coder + ENV NVM_DIR=/home/coder/.nvm RUN mkdir -p $NVM_DIR && \ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash -USER coder -WORKDIR /home/coder + +WORKDIR /home/coder \ No newline at end of file