mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
Minor fixes to Dockerfile and docs
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# Velero binary build section
|
# 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 GOPROXY
|
||||||
ARG BIN
|
ARG BIN
|
||||||
@@ -47,7 +47,7 @@ RUN mkdir -p /output/usr/bin && \
|
|||||||
go clean -modcache -cache
|
go clean -modcache -cache
|
||||||
|
|
||||||
# Restic binary build section
|
# 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 BIN
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ Optionally, set the `$VERSION` environment variable to change the image tag or `
|
|||||||
```bash
|
```bash
|
||||||
make container
|
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
|
### Publishing container images to a registry
|
||||||
|
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ Optionally, set the `$VERSION` environment variable to change the image tag or `
|
|||||||
```bash
|
```bash
|
||||||
make container
|
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
|
### Publishing container images to a registry
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user