dlrs: Defaults docker build ARGs to latest validated CL version

The argument (swupd_args) defaults to the latest validated version on
the CLI, but the user still has the option to pass X version as swupd argument.
A note suggesting to use the latest validated version is added to the
README as a disclaimer.

Fixes clearlinux/dockerfiles#65

Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
This commit is contained in:
Daniela Plascencia
2018-12-18 14:52:58 -08:00
committed by William Douglas
parent 2ff501543e
commit dc07948d79
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -7,9 +7,10 @@
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
```
docker build --no-cache -t clearlinux/stacks-dlrs-mkl .
docker build --no-cache -t clearlinux/stacks-dlrs-mkl --build-arg swupd_args="-m 26700" .
```
### Optional Build ARGs
### Build ARGs
* `swupd_args` specifies [swupd update](https://clearlinux.org/documentation/clear-linux/guides/maintenance/swupd-guide#perform-a-manual-update) flags passed to the update during build.
NOTE: `swupd_args` defaults so that the Clear Linux OS version is updated to 26700. Upgrading to a later version is not recommended, as further versions have not been validated.
+2 -1
View File
@@ -7,9 +7,10 @@
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg
```
docker build --no-cache -t clearlinux/stacks-dlrs-oss .
docker build --no-cache -t clearlinux/stacks-dlrs-oss --build-arg swupd_args="-m 26700" .
```
### Optional Build ARGs
* `swupd_args` specifies [swupd update](https://clearlinux.org/documentation/clear-linux/guides/maintenance/swupd-guide#perform-a-manual-update) flags passed to the update during build.
NOTE: `swupd_args` defaults so that the Clear Linux OS version is updated to 26700. Upgrading to a later version is not recommended, as further versions have not been validated.