mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-01 19:21:28 +00:00
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:
committed by
William Douglas
parent
2ff501543e
commit
dc07948d79
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user