Skip to content

Commit

Permalink
Minor fixes to Dockerfile and docs
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Pampattiwar <[email protected]>
  • Loading branch information
shubham-pampattiwar committed Aug 12, 2024
1 parent dd3d05b commit 3aabfc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/main/build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/v1.14/build-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3aabfc3

Please sign in to comment.