Skip to content

Commit a80f6b4

Browse files
committed
Simplify and enhance vscode dockerfile to use nightly ts in ts extension, too
1 parent 20f078a commit a80f6b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/cases/docker/vscode/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# vscode only supports node 8 :(
1+
# vscode only supports older node
22
FROM node:10
33
RUN apt-get update
44
RUN apt-get install libsecret-1-dev libx11-dev libxkbfile-dev -y
@@ -7,12 +7,12 @@ RUN git clone https://github.com/microsoft/vscode.git /vscode
77
WORKDIR /vscode
88
RUN git pull
99
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
10-
RUN mkdir /typescript
11-
RUN tar -xzvf /typescript.tgz -C /typescript
1210
WORKDIR /vscode/build
13-
RUN yarn add typescript@/typescript/package
11+
RUN yarn add typescript@/typescript.tgz
12+
WORKDIR /vscode/extensions
13+
RUN yarn add typescript@/typescript.tgz
1414
WORKDIR /vscode
15-
RUN yarn add typescript@/typescript/package
15+
RUN yarn add typescript@/typescript.tgz
1616
RUN yarn
1717
ENTRYPOINT [ "yarn" ]
1818
# Build

0 commit comments

Comments
 (0)