mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
* Revamp dockerfile for office-ui-fabric to reduce noise and better handle recent changes to project structure * Revert baseline change so it can be in the normal update, use node 12 since its LTS
Integrations
This repository contains Dockerfiles that describe how to build open source projects (usually those with complex build tasks) with a specific version of typescript. These are used for extended validations of a given typescript build.
Contributing
To add a new test:
- Create a new folder with the name of the project
- Create a
Dockerfilewithin that folder - The
Dockerfilewill be built withdocker build . -t tstest/folderand then run withdocker run tstest/folder - Write the dockerfile such that it can build the target project and injects the typescript package from the
typescript/typescriptimage (which should have a tar file at/typescript/typescript-*.tgz)
Debugging
You can open a test's container with an interactive shell to debug with docker run -it --entrypoint "/bin/sh" tstest/folder.
If you want to remote debug a typescript process within a container, you'll need to forward the port you instruct the
compiler or language server to listen on by passing --expose PORT where PORT is the port number you'd like forwarded to the
host.