Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/cases/docker/azure-sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM node:current
RUN npm install -g @microsoft/rush
RUN git clone https://github.com/Azure/azure-sdk-for-js.git /azure-sdk
RUN git clone --depth 1 https://github.com/Azure/azure-sdk-for-js.git /azure-sdk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may combine these run into one line? Especially after big IO.

WORKDIR /azure-sdk
RUN git pull
RUN rush update
WORKDIR /azure-sdk/sdk/core/core-http
# Sync up all TS versions used internally so they're all linked from a known location
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:current
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools
RUN git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools
ENV PATH=/depot_tools:$PATH
WORKDIR /
RUN mkdir devtools
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/office-ui-fabric/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ ENV CI=true
ENV TF_BUILD=true
# Download repo version, sets up better layer caching for the following clone
ADD https://api.github.com/repos/OfficeDev/office-ui-fabric-react/git/ref/heads/master version.json
RUN git clone https://github.com/OfficeDev/office-ui-fabric-react.git /office-ui-fabric-react
RUN git clone --depth 1 https://github.com/OfficeDev/office-ui-fabric-react.git /office-ui-fabric-react
WORKDIR /office-ui-fabric-react
RUN git pull
WORKDIR /
COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz
WORKDIR /office-ui-fabric-react
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/prettier/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM node:current
RUN npm i -g yarn --force
RUN git clone https://github.com/prettier/prettier.git /prettier
RUN git clone --depth 1 https://github.com/prettier/prettier.git /prettier
WORKDIR /prettier
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN mkdir /typescript
RUN tar -xzvf /typescript.tgz -C /typescript
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/pyright/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM node:current
RUN git clone https://github.com/microsoft/pyright.git /pyright
RUN git clone --depth 1 https://github.com/microsoft/pyright.git /pyright
WORKDIR /pyright
RUN git pull
RUN npm i
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN npm install /typescript.tgz --exact --ignore-scripts --save-dev
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/rxjs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM node:10
RUN git clone https://github.com/ReactiveX/rxjs /rxjs
RUN git clone --depth 1 https://github.com/ReactiveX/rxjs /rxjs
WORKDIR /rxjs
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN mkdir /typescript
RUN tar -xzvf /typescript.tgz -C /typescript
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ FROM node:10
RUN apt-get update
RUN apt-get install libsecret-1-dev libx11-dev libxkbfile-dev -y
RUN npm i -g yarn --force
RUN git clone https://github.com/microsoft/vscode.git /vscode
RUN git clone --depth 1 https://github.com/microsoft/vscode.git /vscode
WORKDIR /vscode
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
WORKDIR /vscode/build
RUN yarn add typescript@/typescript.tgz
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/vue-next/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
FROM node:current
RUN npm install -g yarn lerna --force
RUN git clone https://github.com/vuejs/vue-next.git /vue-next
RUN git clone --depth 1 https://github.com/vuejs/vue-next.git /vue-next
WORKDIR /vue-next
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz
# Sync up all TS versions used internally to the new one
RUN yarn add typescript@./typescript.tgz --exact --dev --ignore-scripts -W
Expand Down
3 changes: 1 addition & 2 deletions tests/cases/docker/xterm.js/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# node-pty doesn't build on node 12 right now, so we lock to 10
FROM node:10
RUN git clone https://github.com/xtermjs/xterm.js.git /xtermjs
RUN git clone --depth 1 https://github.com/xtermjs/xterm.js.git /xtermjs
WORKDIR /xtermjs
RUN git pull
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN mkdir /typescript
RUN tar -xzvf /typescript.tgz -C /typescript
Expand Down