Skip to content

Commit 2334b1d

Browse files
committed
fix: add websocat to custodian to avoid having to wget it every time
1 parent aefc221 commit 2334b1d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deploy/custodian/Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ FROM alpine/helm:3.11.3
22

33
LABEL org.opencontainers.image.source https://github.com/project-codeflare/codeflare-cli
44

5-
RUN if [[ $(uname -m) = aarch64 ]]; then KUBECTL_ARCH=arm64; else KUBECTL_ARCH=amd64; fi; curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/$KUBECTL_ARCH/kubectl" && \
5+
RUN if [[ $(uname -m) = aarch64 ]]; then KUBECTL_ARCH=arm64; else KUBECTL_ARCH=amd64; fi; \
6+
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/$KUBECTL_ARCH/kubectl" && \
67
chmod a+rx kubectl && \
7-
mv kubectl /usr/local/bin
8+
mv kubectl /usr/local/bin && \
9+
wget -q -O /tmp/websocat https://github.com/vi/websocat/releases/download/v1.11.0/websocat.$(uname -m)-unknown-linux-musl && \
10+
chmod a+rx /tmp/websocat && \
11+
mv /tmp/websocat /usr/local/bin
812

913
ENTRYPOINT bash

0 commit comments

Comments
 (0)