Skip to content

Commit 9129a05

Browse files
authored
import helm-bin from local for cacheruntime (#5795)
Signed-off-by: xliuqq <xlzq1992@gmail.com>
1 parent 8b91bea commit 9129a05

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

docker/Dockerfile.cacheruntime

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,17 @@ RUN make cacheruntime-controller-build && \
1010
cp bin/cacheruntime-controller /go/bin/cacheruntime-controller
1111
RUN bash hack/helm/pin_runtime_chart_version.sh "${FLUID_VERSION}"
1212

13-
# alpine:3.20.6
14-
FROM alpine:3.20.6@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f
13+
# alpine:3.23.3
14+
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
1515
RUN apk add --update bash curl wget iproute2 libc6-compat tzdata vim && \
1616
rm -rf /var/cache/apk/* && \
1717
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
1818
echo "Asia/Shanghai" > /etc/timezone
1919

2020
ARG TARGETARCH
2121
ARG HELM_VERSION
22-
RUN wget -O helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz https://github.com/fluid-cloudnative/helm/releases/download/${HELM_VERSION}/helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz && \
23-
tar -xvf helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz && \
24-
mv linux-${TARGETARCH}/helm /usr/local/bin/ddc-helm && \
25-
chmod u+x /usr/local/bin/ddc-helm && \
26-
rm -f helm-${HELM_VERSION}-linux-${TARGETARCH}.tar.gz && \
27-
rm -rf linux-${TARGETARCH}
22+
COPY --from=builder /go/src/github.com/fluid-cloudnative/fluid/bin/helm/${HELM_VERSION}/helm-linux-${TARGETARCH} /usr/local/bin/ddc-helm
23+
RUN chmod u+x /usr/local/bin/ddc-helm
2824

2925
COPY --from=builder /go/src/github.com/fluid-cloudnative/fluid/charts/ /charts
3026

0 commit comments

Comments
 (0)