Skip to content

Commit 2635de4

Browse files
committed
Add a couple of empty dirs and missing tool
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.
1 parent 77e6b07 commit 2635de4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN echo "Building for ${TARGETPLATFORM}"
77

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

1313
# Install pickle as an easier alternative to PECL, that is not
@@ -45,7 +45,9 @@ RUN /tmp/setup/sqlsrv-extension.sh
4545
RUN mkdir /var/www/moodledata && chown www-data /var/www/moodledata && \
4646
mkdir /var/www/phpunitdata && chown www-data /var/www/phpunitdata && \
4747
mkdir /var/www/behatdata && chown www-data /var/www/behatdata && \
48-
mkdir /var/www/behatfaildumps && chown www-data /var/www/behatfaildumps
48+
mkdir /var/www/behatfaildumps && chown www-data /var/www/behatfaildumps && \
49+
mkdir /var/www/.npm && chown www-data /var/www/.npm && \
50+
mkdir /var/www/.nvm && chown www-data /var/www/.nvm
4951

5052
ADD root/usr /usr
5153

0 commit comments

Comments
 (0)