-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cookbook for docker #215
Conversation
|
||
The following command will generate `hello-docker` image with `latest` tag: | ||
```bash ignore | ||
scala-cli package --docker HelloWorld.scala --docker-image-repository hello-docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to ignore this commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, we should check these code snippets with the docs-checker. I fixed it.
I only skip checking for building docker image with scala-native, because for now, we support it only on Linux environments. It would be a pain if docs-checker failed every time on macOS.
|
||
Passing `--docker` to the `package` sub-command generates a docker image. The docker image name parameter `--docker-image-repository` is mandatory. | ||
|
||
The following command will generate `hello-docker` image with `latest` tag: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could one configure custom tag? If so I think we should add it to the guide
No description provided.