From 3aabfc3414adc7740e4367cf0b7d5f4a60f25bc6 Mon Sep 17 00:00:00 2001 From: Shubham Pampattiwar Date: Mon, 12 Aug 2024 13:28:19 -0700 Subject: [PATCH] Minor fixes to Dockerfile and docs Signed-off-by: Shubham Pampattiwar --- Dockerfile | 4 ++-- site/content/docs/main/build-from-source.md | 2 +- site/content/docs/v1.14/build-from-source.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d461642e..2c70dd456 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Velero binary build section -FROM --platform=$BUILDPLATFORM golang:1.22-bookworm as velero-builder +FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS velero-builder ARG GOPROXY ARG BIN @@ -47,7 +47,7 @@ RUN mkdir -p /output/usr/bin && \ go clean -modcache -cache # Restic binary build section -FROM --platform=$BUILDPLATFORM golang:1.22-bookworm as restic-builder +FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS restic-builder ARG BIN ARG TARGETOS diff --git a/site/content/docs/main/build-from-source.md b/site/content/docs/main/build-from-source.md index 083cdc202..798800036 100644 --- a/site/content/docs/main/build-from-source.md +++ b/site/content/docs/main/build-from-source.md @@ -96,7 +96,7 @@ Optionally, set the `$VERSION` environment variable to change the image tag or ` ```bash make container ``` -_Note: To build build container images for both `velero` and `velero-restore-helper`, run: `make all-containers`_ +_Note: To build container images for both `velero` and `velero-restore-helper`, run: `make all-containers`_ ### Publishing container images to a registry diff --git a/site/content/docs/v1.14/build-from-source.md b/site/content/docs/v1.14/build-from-source.md index 083cdc202..798800036 100644 --- a/site/content/docs/v1.14/build-from-source.md +++ b/site/content/docs/v1.14/build-from-source.md @@ -96,7 +96,7 @@ Optionally, set the `$VERSION` environment variable to change the image tag or ` ```bash make container ``` -_Note: To build build container images for both `velero` and `velero-restore-helper`, run: `make all-containers`_ +_Note: To build container images for both `velero` and `velero-restore-helper`, run: `make all-containers`_ ### Publishing container images to a registry