fix: fix cve for telemetry and kubesphere (#6352)

fix: cve

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
liujian
2025-02-08 10:12:12 +08:00
committed by GitHub
parent f390d46da2
commit b4069c6b3d
7 changed files with 10 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
# Build
FROM golang:1.22.8 AS build_context
FROM golang:1.22.11 AS build_context
ENV OUTDIR=/out
RUN mkdir -p ${OUTDIR}/usr/local/bin/

View File

@@ -6,7 +6,7 @@ RUN apk add --no-cache ca-certificates curl
ENV OUTDIR=/out
RUN mkdir -p ${OUTDIR}/usr/local/bin/
ARG TELEMETRY_VERSION=1.0.1
ARG TELEMETRY_VERSION=1.0.2
ARG TARGETARCH
RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v${TELEMETRY_VERSION}/telemetry_${TELEMETRY_VERSION}_linux_${TARGETARCH}.tar.gz && \
tar -zxvf telemetry_${TELEMETRY_VERSION}_linux_${TARGETARCH}.tar.gz -C ${OUTDIR}/usr/local/bin/ telemetry
@@ -15,7 +15,7 @@ RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v${TELEME
COPY config/ks-core ${OUTDIR}/var/helm-charts/ks-core
# Build
FROM golang:1.22.8 AS build_context
FROM golang:1.22.11 AS build_context
ENV OUTDIR=/out
RUN mkdir -p ${OUTDIR}/usr/local/bin/