Skip to content

Commit

Permalink
Update golang Docker tag to v1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jun 26, 2023
1 parent 83e8d6a commit 984d12a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion controlplane.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
FROM --platform=$BUILDPLATFORM golang:1.20 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
10 changes: 5 additions & 5 deletions tetrad.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Download zig for builarch amd64
FROM --platform=$BUILDPLATFORM golang:1.19 AS zigdownloader-amd64
FROM --platform=$BUILDPLATFORM golang:1.20 AS zigdownloader-amd64

RUN apt-get update && \
apt-get install -y --no-install-recommends xz-utils && \
Expand All @@ -8,7 +8,7 @@ RUN apt-get update && \
mv ./zig-*/ /zig/

# Download zig for builarch arm64
FROM --platform=$BUILDPLATFORM golang:1.19 AS zigdownloader-arm64
FROM --platform=$BUILDPLATFORM golang:1.20 AS zigdownloader-arm64

RUN apt-get update && \
apt-get install -y --no-install-recommends xz-utils && \
Expand All @@ -19,12 +19,12 @@ RUN apt-get update && \
FROM zigdownloader-${BUILDARCH} AS zigdownloader

# Prepare for targetarch amd64
FROM --platform=$BUILDPLATFORM golang:1.19 AS gobase-amd64
FROM --platform=$BUILDPLATFORM golang:1.20 AS gobase-amd64

ENV ZIGTARGET x86_64-linux-gnu

# Prepare for targetarch arm64
FROM --platform=$BUILDPLATFORM golang:1.19 AS gobase-arm64
FROM --platform=$BUILDPLATFORM golang:1.20 AS gobase-arm64

ENV ZIGTARGET aarch64-linux-gnu

Expand Down Expand Up @@ -73,7 +73,7 @@ COPY Makefile Makefile
RUN GOOS=linux GOARCH=${TARGETARCH} make cni-plugins

# Fetch CNI plugins
FROM golang:1.19 AS plugins
FROM golang:1.20 AS plugins

WORKDIR /workspace
COPY aqua.yaml aqua.yaml
Expand Down

0 comments on commit 984d12a

Please sign in to comment.