9f556004ec
I updated library documentation links (https://microsoft.github.io/typespec/libraries => https://typespec.io/docs/libraries), should I update the other https://microsoft.github.io links as well? |
||
---|---|---|
.. | ||
Dockerfile | ||
readme.md |
readme.md
Use TypeSpec via Docker
Image: azsdkengsys.azurecr.io/typespec
Tags:
- Lastest from master:
alpine
,latest
Usage
docker run \
-v "${pwd}:/wd" --workdir="/wd" \
-t azsdkengsys.azurecr.io/typespec \
# ... TypeSpec args ...
For usage in PowerShell replace \
with `
Install dependencies
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec install
Compile
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec compile .
Init a new project
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec init