-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xterm test to docker suite (#32149)
- Loading branch information
Showing
4 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Exit Code: 0 | ||
Standard output: | ||
|
||
> [email protected] build /xtermjs | ||
> tsc -b ./tsconfig.all.json | ||
|
||
|
||
|
||
|
||
Standard error: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# node-pty doesn't build on node 12 right now, so we lock to 8 - the version xterm itself tests against :( | ||
FROM node:8 | ||
RUN git clone 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 | ||
RUN npm i typescript@/typescript/package | ||
RUN npm install | ||
# Set entrypoint back to bash (`node` base image made it `node`) | ||
ENTRYPOINT [ "/bin/bash", "-c" , "exec \"${@:0}\";"] | ||
# Build | ||
CMD npm run build |