From dc07948d79eb93c418e6605c37769e5442785c67 Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Mon, 17 Dec 2018 14:43:46 -0600 Subject: [PATCH] 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 --- stacks/dlrs/mkl/README.md | 5 +++-- stacks/dlrs/oss/README.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/stacks/dlrs/mkl/README.md b/stacks/dlrs/mkl/README.md index 7ac83fd..4841392 100644 --- a/stacks/dlrs/mkl/README.md +++ b/stacks/dlrs/mkl/README.md @@ -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. diff --git a/stacks/dlrs/oss/README.md b/stacks/dlrs/oss/README.md index 203c5e2..cf6901c 100644 --- a/stacks/dlrs/oss/README.md +++ b/stacks/dlrs/oss/README.md @@ -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.