From f33afbe8b904dd44d7ee3a835f137f1b132fa766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Tue, 9 Dec 2025 00:31:13 +0000 Subject: [PATCH] devops - fix docker file --- devops/Dockerfile | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/devops/Dockerfile b/devops/Dockerfile index d7f53f2..16fe650 100644 --- a/devops/Dockerfile +++ b/devops/Dockerfile @@ -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 --- -