76375a80f4
This should help opening PR in codespaces as well as helping new contributors |
||
---|---|---|
.. | ||
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