File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ The docker image name parameter `--docker-image-repository` is mandatory.
163163
164164The following command generates a ` hello-docker ` image with the ` latest ` tag:
165165
166- ``` bash
166+ ``` bash ignore
167167scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
168168```
169169
@@ -174,7 +174,7 @@ docker run hello-docker:latest
174174
175175<ChainedSnippets >
176176
177- ``` bash
177+ ``` bash ignore
178178docker run hello-docker
179179```
180180
@@ -191,7 +191,7 @@ Hello from Docker
191191You can also create Docker images for Scala.js and Scala Native applications.
192192The following command shows how to create a Docker image (` --docker ` ) for a Scala.js (` --js ` ) application:
193193
194- ``` bash
194+ ``` bash ignore
195195scala-cli --power package --js --docker HelloDocker.scala --docker-image-repository hello-docker
196196```
197197<!-- Expected:
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Passing `--docker` to the `package` sub-command generates a Docker image. When c
1717
1818The following command generates a ` hello-docker ` image with the ` latest ` tag:
1919
20- ``` bash
20+ ``` bash ignore
2121scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
2222```
2323
@@ -26,7 +26,7 @@ Started building docker image with your application
2626docker run hello-docker:latest
2727-->
2828
29- ``` bash
29+ ``` bash ignore
3030docker run hello-docker
3131# Hello from Docker
3232```
@@ -38,7 +38,7 @@ Hello from Docker
3838You can also package your app in the Scala.js or Scala Native environments.
3939For example, this command creates a Scala.js Docker image:
4040
41- ``` bash
41+ ``` bash ignore
4242scala-cli --power package --js --docker HelloDocker.scala --docker-image-repository hello-docker
4343```
4444<!-- Expected:
You can’t perform that action at this time.
0 commit comments