Skip to content

Commit

Permalink
Add a couple of empty dirs and missing tool
Browse files Browse the repository at this point in the history
Here we are adding a couple of empty directories (.nvm and .npm)
that will enable the use of nodejs within the images.

Also the "bc" package that is used by some bash scripts to perform
"float point" (version comparisons) operations.
  • Loading branch information
stronk7 committed Jun 5, 2024
1 parent fe75cc6 commit 3a2c6fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN echo "Building for ${TARGETPLATFORM}"

# Install some packages that are useful within the images.
RUN apt-get update && apt-get install -y \
git \
git bc \
&& rm -rf /var/lib/apt/lists/*

# Install pickle as an easier alternative to PECL, that is not
Expand Down Expand Up @@ -45,7 +45,9 @@ RUN /tmp/setup/sqlsrv-extension.sh
RUN mkdir /var/www/moodledata && chown www-data /var/www/moodledata && \
mkdir /var/www/phpunitdata && chown www-data /var/www/phpunitdata && \
mkdir /var/www/behatdata && chown www-data /var/www/behatdata && \
mkdir /var/www/behatfaildumps && chown www-data /var/www/behatfaildumps
mkdir /var/www/behatfaildumps && chown www-data /var/www/behatfaildumps && \
mkdir /var/www/.npm && chown www-data /var/www/.npm && \
mkdir /var/www/.nvm && chown www-data /var/www/.nvm

ADD root/usr /usr

Expand Down

0 comments on commit 3a2c6fd

Please sign in to comment.