File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11# Docker Image generator:<br >** ` docker-image ` **
22
3- | Mount name | Type | Usage |
4- | :-----------| :-------| :------------------------------------------------------|
5- | ` input ` | Layers | The Raptor build target to genrate as a docker image. |
6- | ` output ` | File | Points to the resulting docker image file. |
3+ | Mount name | Type | Usage |
4+ | :--------------------------| :-------| :---------------------------------------------------------------------------------------------|
5+ | ` input ` | Layers | The Raptor build target to genrate as a docker image. |
6+ | ` output ` | File | Points to the resulting docker image file. |
7+ | ` cache ` <br >** (Optional)** | Simple | Cache for tar files of built layers.<br >Will save time when repeating layers between builds. |
78
89This builder generates a Docker image from a Raptor target.
910
@@ -40,6 +41,9 @@ rbuild = "raptor-builders"
4041target = "$rbuild.docker-image" # <-- builder is specified here
4142input = ["test"]
4243output = "test.tar"
44+ ## to speed up builds with shared layers,
45+ ## specify a cache directory:
46+ # cache = "/tmp/docker-image-cache"
4347```
4448~~~
4549
You can’t perform that action at this time.
0 commit comments