This commit is contained in:
@@ -11,14 +11,12 @@ RUN apt-get update && apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
jq \
|
jq \
|
||||||
yq \
|
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
rclone \
|
rclone \
|
||||||
rsync \
|
rsync \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
net-tools \
|
|
||||||
iproute2 \
|
iproute2 \
|
||||||
traceroute \
|
traceroute \
|
||||||
mtr \
|
mtr \
|
||||||
@@ -28,9 +26,11 @@ RUN apt-get update && apt-get install -y \
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# --- Install Helm ---
|
# --- Install pip modules ---
|
||||||
RUN pip3 install --upgrade pip \
|
RUN pip3 install --upgrade pip \
|
||||||
&& pip3 install ansible
|
&& pip3 install \
|
||||||
|
ansible \
|
||||||
|
pyyaml
|
||||||
|
|
||||||
|
|
||||||
# --- Install kubectl ---
|
# --- Install kubectl ---
|
||||||
@@ -60,6 +60,10 @@ RUN mkdir /tmp/act \
|
|||||||
&& install -m 0755 /tmp/act/act /usr/local/bin/act \
|
&& install -m 0755 /tmp/act/act /usr/local/bin/act \
|
||||||
&& rm -r /tmp/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
|
# -- install chroma for zsh
|
||||||
RUN mkdir /tmp/chroma \
|
RUN mkdir /tmp/chroma \
|
||||||
&& curl -s https://api.github.com/repos/alecthomas/chroma/releases/latest \
|
&& curl -s https://api.github.com/repos/alecthomas/chroma/releases/latest \
|
||||||
@@ -73,17 +77,8 @@ RUN mkdir /tmp/chroma \
|
|||||||
# --- set zsh shell as default ---
|
# --- set zsh shell as default ---
|
||||||
RUN chsh -s /usr/bin/zsh vscode
|
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 ---
|
||||||
COPY ./assets/.zshrc /home/vscode
|
COPY ./assets/.zshrc /home/vscode
|
||||||
|
|
||||||
# --- labels ---
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user