Skip to content

Commit 7c05e1a

Browse files
authored
Add --force option to npm install commands in dockerfiles (microsoft#36431)
1 parent 9ef9bb0 commit 7c05e1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/cases/docker/office-ui-fabric/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM node:current
2-
RUN npm install -g yarn lerna
2+
RUN npm install -g yarn lerna --force
33
RUN git clone https://github.com/OfficeDev/office-ui-fabric-react.git /office-ui-fabric-react
44
WORKDIR /office-ui-fabric-react
55
RUN git pull

tests/cases/docker/vscode/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM node:10
33
RUN apt-get update
44
RUN apt-get install libsecret-1-dev libx11-dev libxkbfile-dev -y
5-
RUN npm i -g yarn
5+
RUN npm i -g yarn --force
66
RUN git clone https://github.com/microsoft/vscode.git /vscode
77
WORKDIR /vscode
88
RUN git pull

0 commit comments

Comments
 (0)