fix cve with upgrade telemetry 1.0.2 and go 1.22.11 (#6367)
Signed-off-by: peng wu <2030047311@qq.com>
This commit is contained in:
@@ -9,14 +9,14 @@ ARG TARGETARCH
|
||||
|
||||
ENV ARCH=$TARGETARCH
|
||||
|
||||
RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v1.0.0/telemetry_1.0.0_linux_${ARCH}.tar.gz && \
|
||||
tar -zxvf telemetry_1.0.0_linux_${ARCH}.tar.gz -C ${OUTDIR}/usr/local/bin/ telemetry
|
||||
RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v1.0.2/telemetry_1.0.2_linux_${ARCH}.tar.gz && \
|
||||
tar -zxvf telemetry_1.0.2_linux_${ARCH}.tar.gz -C ${OUTDIR}/usr/local/bin/ telemetry
|
||||
|
||||
# Add KS Core Helm Chart
|
||||
COPY config/ks-core ${OUTDIR}/var/helm-charts/ks-core
|
||||
|
||||
# Build
|
||||
FROM golang:1.21.5 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