Skip to content

Commit caf5283

Browse files
authored
Merge pull request #3941 from Gedochao/maintenance/even-more-flaky-docker-tests
Temporarily disable some more flaky CLI docker image documentation tests
2 parents a1afe4c + 8def1eb commit caf5283

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

website/docs/commands/package.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ The following command generates a `hello-docker` image with the `latest` tag:
167167
scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
168168
```
169169

170-
<!-- Expected:
171-
Started building docker image with your application
172-
docker run hello-docker:latest
173-
-->
174-
175170
<ChainedSnippets>
176171

177172
```bash ignore
@@ -184,20 +179,12 @@ Hello from Docker
184179

185180
</ChainedSnippets>
186181

187-
<!-- Expected:
188-
Hello from Docker
189-
-->
190-
191182
You can also create Docker images for Scala.js and Scala Native applications.
192183
The following command shows how to create a Docker image (`--docker`) for a Scala.js (`--js`) application:
193184

194185
```bash ignore
195186
scala-cli --power package --js --docker HelloDocker.scala --docker-image-repository hello-docker
196187
```
197-
<!-- Expected:
198-
Started building docker image with your application
199-
docker run hello-docker:latest
200-
-->
201188

202189
Packaging Scala Native applications to a Docker image is only supported on Linux.
203190

website/docs/cookbooks/package/scala-docker.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,17 @@ The following command generates a `hello-docker` image with the `latest` tag:
2121
scala-cli --power package --docker HelloDocker.scala --docker-image-repository hello-docker
2222
```
2323

24-
<!-- Expected:
25-
Started building docker image with your application
26-
docker run hello-docker:latest
27-
-->
28-
2924
```bash ignore
3025
docker run hello-docker
3126
# Hello from Docker
3227
```
3328

34-
<!-- Expected:
35-
Hello from Docker
36-
-->
37-
3829
You can also package your app in the Scala.js or Scala Native environments.
3930
For example, this command creates a Scala.js Docker image:
4031

4132
```bash ignore
4233
scala-cli --power package --js --docker HelloDocker.scala --docker-image-repository hello-docker
4334
```
44-
<!-- Expected:
45-
Started building docker image with your application
46-
docker run hello-docker:latest
47-
-->
4835

4936
This command creates a Scala Native Docker image:
5037

0 commit comments

Comments
 (0)