Skip to content

Files

Latest commit

53856c8 · Mar 28, 2023

History

History
This branch is 1856 commits behind microsoft/typespec:main.

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 28, 2023
Mar 28, 2023

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