From d4113b755f0e0bc147e68511f4ada71a982ecd99 Mon Sep 17 00:00:00 2001 From: Jian Zeng Date: Thu, 11 Jul 2024 22:56:53 +0800 Subject: [PATCH] chore: upgrade default server image to v0.0.4 (#52) * chore: upgrade default server image to v0.0.4 Signed-off-by: Jian Zeng * chore: build server with go1.22.5 Signed-off-by: Jian Zeng --------- Signed-off-by: Jian Zeng --- cmd/client/main.go | 2 +- manifests/Dockerfile-server | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/client/main.go b/cmd/client/main.go index b8a59b9..2a44d4d 100644 --- a/cmd/client/main.go +++ b/cmd/client/main.go @@ -255,7 +255,7 @@ service, ip and hostname rather than only pods.`, flags.BoolVarP(&printVersion, "version", "V", false, "Print version info and exit.") flags.StringVar(&o.address, "address", "127.0.0.1", "Address to listen on. Only accepts IP addresses as a value.") flags.StringVarP(&o.targetsFile, "file", "f", "", "Forward to the targets specified in the given file, with one target per line.") - flags.StringVar(&o.serverImage, "server.image", "ghcr.io/knight42/krelay-server:v0.0.3", "The krelay-server image to use.") + flags.StringVar(&o.serverImage, "server.image", "ghcr.io/knight42/krelay-server:v0.0.4", "The krelay-server image to use.") flags.StringVar(&o.serverNamespace, "server.namespace", metav1.NamespaceDefault, "The namespace in which krelay-server is located.") flags.IntVarP(&o.verbosity, "v", "v", 3, "Number for the log level verbosity. The bigger the more verbose.") _ = c.Execute() diff --git a/manifests/Dockerfile-server b/manifests/Dockerfile-server index 57c4e1e..9a3f7ef 100644 --- a/manifests/Dockerfile-server +++ b/manifests/Dockerfile-server @@ -1,4 +1,4 @@ -FROM golang:1.22.0 AS builder +FROM golang:1.22.5 AS builder WORKDIR /workspace ADD . . RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o krelay-server ./cmd/server