fix nvm directory permission
This commit is contained in:
1 parent
b5abf41fb0
commit
9faad93986
3 files changed
+12
-6
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user