devops - fix docker file
All checks were successful
/ build-docker-image (push) Successful in 11s

This commit is contained in:
2025-12-09 00:31:13 +00:00
parent 29f311a0e4
commit f33afbe8b9

View File

@@ -11,14 +11,12 @@ RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
jq \
yq \
ca-certificates \
software-properties-common \
rclone \
rsync \
iputils-ping \
dnsutils \
net-tools \
iproute2 \
traceroute \
mtr \
@@ -28,9 +26,11 @@ RUN apt-get update && apt-get install -y \
# --- Install Helm ---
# --- Install pip modules ---
RUN pip3 install --upgrade pip \
&& pip3 install ansible
&& pip3 install \
ansible \
pyyaml
# --- Install kubectl ---
@@ -60,6 +60,10 @@ RUN mkdir /tmp/act \
&& install -m 0755 /tmp/act/act /usr/local/bin/act \
&& rm -r /tmp/act
# ---zsh plugins ---
RUN git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git /home/vscode/.oh-my-zsh/custom/plugins/fast-syntax-highlighting
RUN git clone https://github.com/zsh-users/zsh-autosuggestions /home/vscode/.oh-my-zsh/custom/plugins/zsh-autosuggestions
# -- install chroma for zsh
RUN mkdir /tmp/chroma \
&& curl -s https://api.github.com/repos/alecthomas/chroma/releases/latest \
@@ -73,17 +77,8 @@ RUN mkdir /tmp/chroma \
# --- set zsh shell as default ---
RUN chsh -s /usr/bin/zsh vscode
RUN git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git /home/vscode/.oh-my-zsh/custom/plugins/fast-syntax-highlighting
RUN git clone https://github.com/zsh-users/zsh-autosuggestions /home/vscode/.oh-my-zsh/custom/plugins/zsh-autosuggestions
# --- pip modules---
RUN pip install openshift pyyaml
# --- copy assets ---
COPY ./assets/.zshrc /home/vscode
# --- labels ---