cloud-toolbox: cleaning, add helmfile binary
This commit is contained in:
parent
7c6b259f44
commit
d451a31f1d
2 changed files with 6 additions and 431 deletions
|
@ -1,3 +1,7 @@
|
|||
FROM ghcr.io/helmfile/helmfile:canary as helmfile
|
||||
|
||||
# ----
|
||||
|
||||
FROM forgejo.maciej.cloud/pkg/mc-fedora-base
|
||||
|
||||
# for helm install script
|
||||
|
@ -6,6 +10,8 @@ ENV VERIFY_CHECKSUM="false"
|
|||
ENV PKGS_BASE="git python3-pip rclone rsync kubernetes-client"
|
||||
ENV PKGS_TEMP="python3-devel gcc wget tar"
|
||||
|
||||
COPY --from=helmfile /usr/local/bin/helmfile /usr/local/bin/helmfile
|
||||
|
||||
RUN dnf5 install -y ${PKGS_BASE} ${PKGS_TEMP} && \
|
||||
pip3 install python-openstackclient python-swiftclient python-heatclient python-designateclient && \
|
||||
curl -o /dev/stdout https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - && \
|
||||
|
@ -16,12 +22,4 @@ RUN dnf5 install -y ${PKGS_BASE} ${PKGS_TEMP} && \
|
|||
|
||||
WORKDIR /data
|
||||
|
||||
COPY kube_ps.sh /root/kube_ps.sh
|
||||
|
||||
RUN echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\
|
||||
source /root/kube_ps.sh;\
|
||||
source /etc/profile.d/bash_completion.sh;\
|
||||
PS1=\'[cloud-toolbox \W/ $(kube_ps1)]\$ \'\
|
||||
' >> /root/.bashrc
|
||||
|
||||
ENTRYPOINT [ "/bin/bash" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue