Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 643 Bytes

docker.md

File metadata and controls

36 lines (24 loc) · 643 Bytes

Use cadl via docker

Image: azsdkengsys.azurecr.io/cadl

Tags:

  • Lastest from master: alpine, latest

Usage

docker run \
  -v "${pwd}:/wd" --workdir="/wd" \
  -t azsdkengsys.azurecr.io/cadl \
  # ... cadl args ...

For usage in powershell replace \ with `

Install dependencies

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

Compile

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

Init a new project

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