From 61e936875b0c2e0bf801eac7148a74ca3b512759 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Brucker Date: Fri, 16 Aug 2024 14:57:40 +0100 Subject: [PATCH 1/2] docker: Fix build.sh usage doc Backticks execute the command, so use simple quotes instead. ./build.sh: line 9: --version: command not found ./build.sh: line 9: --version: command not found Signed-off-by: Jean-Philippe Brucker --- docker/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/build.sh b/docker/build.sh index a68a145..965face 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -22,9 +22,9 @@ Where: running inside the kaniko container. --arch optionally provides a target arch label that overrides the default - `uname -m`. Must be either "aarch64" or "x86_64". Unless `--version none`, + `uname -m`. Must be either "aarch64" or "x86_64". Unless '--version none', must match the arch of the machine used to run the script. For - `--version none` can be set to any supported arch to download that arch's + '--version none' can be set to any supported arch to download that arch's package cache. is the registry to publish to (defaults to docker.io/shrinkwraptool). -- GitLab From 18a0f63d85ada46e056b74ed75ea7d089e7b3973 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Brucker Date: Fri, 16 Aug 2024 15:01:29 +0100 Subject: [PATCH 2/2] docs: Fix docker/build.sh example Invocation of the docker/build.sh script has changed. Update the documentation. Signed-off-by: Jean-Philippe Brucker --- documentation/userguide/runtimes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/userguide/runtimes.rst b/documentation/userguide/runtimes.rst index 6c18a37..adb3049 100644 --- a/documentation/userguide/runtimes.rst +++ b/documentation/userguide/runtimes.rst @@ -74,7 +74,7 @@ you can do it as follows: .. code-block:: shell cd docker - ./build.sh local + ./build.sh --version local This will build a set of images called: -- GitLab