feat(tools): install yamllint and ansible-lint

This commit is contained in:
Khue Doan 2022-05-14 18:41:44 +07:00
parent 0e351eb81b
commit cca6e61c5b

View File

@ -2,37 +2,39 @@ FROM archlinux
# Sort mirrors by speed # Sort mirrors by speed
RUN pacman --sync --refresh --noconfirm \ RUN pacman --sync --refresh --noconfirm \
reflector \ reflector \
&& reflector \ && reflector \
--save /etc/pacman.d/mirrorlist \ --save /etc/pacman.d/mirrorlist \
--protocol https \ --protocol https \
--latest 20 \ --latest 20 \
--sort rate --sort rate
RUN pacman --sync --refresh --noconfirm \ RUN pacman --sync --refresh --noconfirm \
ansible \ ansible \
diffutils \ ansible-lint \
docker \ diffutils \
docker-compose \ docker \
git \ docker-compose \
graphviz \ git \
helm \ graphviz \
kubectl \ helm \
kustomize \ kubectl \
libisoburn \ kustomize \
make \ libisoburn \
mdbook \ make \
neovim \ mdbook \
openssh \ neovim \
p7zip \ openssh \
python \ p7zip \
python-jinja \ python \
python-kubernetes \ python-jinja \
python-netaddr \ python-kubernetes \
python-pip \ python-netaddr \
python-rich \ python-pip \
sudo \ python-rich \
terraform sudo \
terraform \
yamllint
# TODO better way to install k3d? # TODO better way to install k3d?
RUN curl -L https://github.com/k3d-io/k3d/releases/download/v5.4.1/k3d-linux-amd64 > /usr/local/bin/k3d \ RUN curl -L https://github.com/k3d-io/k3d/releases/download/v5.4.1/k3d-linux-amd64 > /usr/local/bin/k3d \