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

fix: cve

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
(cherry picked from commit b4069c6b3d)
This commit is contained in:
liujian
2025-02-08 10:12:12 +08:00
committed by hongming
parent 2dbe296a06
commit b34b7ea1fe
6 changed files with 8 additions and 16 deletions

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