Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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/tsp install

Compile

docker run -v "${pwd}:/wd" --workdir="/wd"  -t azsdkengsys.azurecr.io/tsp compile .

Init a new project

docker run -v "${pwd}:/wd" --workdir="/wd"  -t azsdkengsys.azurecr.io/tsp init