安装 helm
This commit is contained in:
parent
5c96b138a0
commit
7cfcf63f3b
12
Dockerfile
12
Dockerfile
@ -9,7 +9,13 @@ RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib
|
|||||||
rm -rf /etc/apt/sources.list.d/debian.sources && \
|
rm -rf /etc/apt/sources.list.d/debian.sources && \
|
||||||
apt update
|
apt update
|
||||||
|
|
||||||
RUN apt install -y --no-install-recommends wget lsb-release unzip ca-certificates
|
RUN apt install -y --no-install-recommends wget lsb-release unzip ca-certificates apt-transport-https curl git vim sudo openssh-client jq yq bash bash-completion gnupg2
|
||||||
RUN apt install -y --no-install-recommends curl git vim sudo openssh-client jq yq bash bash-completion gnupg2 \
|
|
||||||
&& apt clean && rm -rf /var/lib/apt/lists/*
|
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
|
||||||
|
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install helm
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
RUN apt clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user