Skip to content

Commit 5fde9e1

Browse files
committed
Add DockerFile for ChromeDevTools
Note that I was not able to verify it fully works, as it throws an authentication error on typescript/typescript on the Docker Hub. This is part of #39568 CC @weswigham
1 parent db79030 commit 5fde9e1

File tree

1 file changed

+14
-0
lines changed
  • tests/cases/docker/chrome-devtools-frontend-next

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:current
2+
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools
3+
ENV PATH=/depot_tools:$PATH
4+
WORKDIR /
5+
RUN mkdir devtools
6+
WORKDIR devtools
7+
RUN fetch devtools-frontend
8+
WORKDIR devtools-frontend
9+
RUN gn gen out/Default
10+
COPY --from=typescript/typescript /typescript/typescript-*.tgz typescript.tgz
11+
RUN mkdir /typescript
12+
RUN tar -xzvf /typescript.tgz -C /typescript
13+
RUN ln -s /typescript/package ./node_modules/typescript
14+
CMD [ "autoninja", "-C", "out/Default" ]

0 commit comments

Comments
 (0)