Skip to content

Commit 2c43668

Browse files
authored
Merge pull request #104 from charles-dyfis-net/document-image-arg-usage
README: Demonstrate how to use IMAGE_ARG
2 parents 1aac28e + 36da882 commit 2c43668

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ _(As a convention in the list below, all task parameters are specified with a
114114
name. For example, `IMAGE_ARG_base_image=ubuntu/image.tar` will set
115115
`base_image` to a local image reference for using `ubuntu/image.tar`.
116116
117+
This must be accepted as an argument for use; for example:
118+
119+
```
120+
ARG base_image
121+
FROM ${base_image}
122+
```
123+
117124
* `$IMAGE_PLATFORM`: Specify the target platform to build the image for. For
118125
example `IMAGE_PLATFORM=linux/arm64` will build the image for the Linux OS
119126
and `arm64` architecture. By default, images will be built for the current

0 commit comments

Comments
 (0)