diff --git a/Dockerfile b/Dockerfile index 0d461642ea..2c70dd4562 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 083cdc202c..7988000360 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 083cdc202c..7988000360 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