• Joined on 2024-05-31

dev-container-ansible (latest)

Published 2024-07-03 09:16:37 +00:00 by jleony

Installation

docker pull git.rmrknft.com/jleony/dev-container-ansible:latest
sha256:22ea42d8345b1a64a803ff1fec59eaedb1aaaae4788ed894e5d1e3378baecb8f

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ac9d5a9d5b9b1217a6b26f1069a16bc48fa9c2ed76f3eaf28a8e643ae2058d11 in /
CMD ["/bin/bash"]
RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3.12-venv sshpass zsh git wget curl unzip # buildkit
RUN /bin/sh -c python3 -m venv /home/ubuntu/ansible-env # buildkit
ENV PATH=/home/ubuntu/ansible-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c pip3 install ansible # buildkit
ENV ANSIBLE_HOST_KEY_CHECKING=False
WORKDIR /root
RUN /bin/sh -c sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended # buildkit
RUN /bin/sh -c cp -rf ~/.oh-my-zsh /home/ubuntu/.oh-my-zsh # buildkit
RUN /bin/sh -c cp /home/ubuntu/.oh-my-zsh/templates/zshrc.zsh-template /home/ubuntu/.zshrc # buildkit
RUN /bin/sh -c chown ubuntu:ubuntu /home/ubuntu/.zshrc && chown -R ubuntu:ubuntu /home/ubuntu/.oh-my-zsh # buildkit
RUN /bin/sh -c rm -rf ~/.oh-my-zsh # buildkit
RUN /bin/sh -c wget https://github.com/ogham/exa/releases/download/v0.10.1/exa-linux-x86_64-v0.10.1.zip && unzip exa-linux-x86_64-v0.10.1.zip && mv bin/exa /usr/local/bin/exa && rm -rf completions man bin # buildkit
USER ubuntu
WORKDIR /home/ubuntu
RUN /bin/sh -c ls -a ~/.oh-my-zsh/custom/plugins # buildkit
RUN /bin/sh -c git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # buildkit
RUN /bin/sh -c git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting # buildkit
RUN /bin/sh -c echo 'if [ -x "$(command -v exa)" ]; then\n alias ls="exa"\n alias la="exa --long --all --group"\nfi' >> ~/.zshrc # buildkit
RUN /bin/sh -c sed -i 's/plugins=(git)/plugins=(git zsh-autosuggestions zsh-syntax-highlighting)/' ~/.zshrc # buildkit
CMD ["/usr/bin/zsh"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2024-07-03 09:16:37 +00:00
0
OCI / Docker
linux/amd64
385 MiB
Versions (3) View all
latest 2024-07-03
v2024-07-03 2024-07-03
v2024-06-05 2024-06-05