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:
@@ -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/
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user