cli
cli copied to clipboard
Add Dockerfile and release pipeline
trafficstars
- example Dockerfile that we already have for the Generator CLI -> https://github.com/asyncapi/generator/blob/master/Dockerfile
- but instead of installing npm package, and using CLI from npm, we can actually build even smaller image, not based on node alpine. We would just plug into https://github.com/asyncapi/cli/blob/master/.github/workflows/upload-release-assets.yml workflow where we generate different distro versions, including Linux, and use linux binary in docker? Just an idea 🤷🏼
- make sure it is plugged into the release flow. Example -> https://github.com/asyncapi/generator/blob/master/.github/workflows/release-docker.yml