Skip to content

Commit 6f4245d

Browse files
author
Sander Marechal
committed
Use NPM 6.x on Node 10.x
1 parent be9f21a commit 6f4245d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile.apache.node10

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update && \
1616
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
1717
apt-get update && \
1818
apt-get install -y --no-install-recommends yarn && \
19-
npm install -g npm && \
19+
npm install -g npm@^6.14 && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2222

Dockerfile.cli.node10

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update && \
1616
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
1717
apt-get update && \
1818
apt-get install -y --no-install-recommends yarn && \
19-
npm install -g npm && \
19+
npm install -g npm@^6.14 && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2222

Dockerfile.fpm.node10

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update && \
1616
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
1717
apt-get update && \
1818
apt-get install -y --no-install-recommends yarn && \
19-
npm install -g npm && \
19+
npm install -g npm@^6.14 && \
2020
apt-get clean && \
2121
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2222

0 commit comments

Comments
 (0)