2021-04-21 14:50:34 +07:00
|
|
|
FROM archlinux
|
2021-04-20 09:41:06 +07:00
|
|
|
|
2021-08-16 02:25:59 +07:00
|
|
|
# Sort mirrors by speed
|
|
|
|
RUN pacman --sync --refresh --noconfirm \
|
2022-05-14 18:41:44 +07:00
|
|
|
reflector \
|
2021-08-16 02:25:59 +07:00
|
|
|
&& reflector \
|
2022-05-14 18:41:44 +07:00
|
|
|
--save /etc/pacman.d/mirrorlist \
|
|
|
|
--protocol https \
|
|
|
|
--latest 20 \
|
|
|
|
--sort rate
|
2021-05-16 14:49:59 +07:00
|
|
|
|
2022-03-12 11:48:40 +07:00
|
|
|
RUN pacman --sync --refresh --noconfirm \
|
2022-05-14 18:41:44 +07:00
|
|
|
ansible \
|
|
|
|
ansible-lint \
|
|
|
|
diffutils \
|
|
|
|
docker \
|
|
|
|
docker-compose \
|
|
|
|
git \
|
|
|
|
graphviz \
|
|
|
|
helm \
|
|
|
|
kubectl \
|
|
|
|
kustomize \
|
|
|
|
libisoburn \
|
|
|
|
make \
|
|
|
|
mdbook \
|
|
|
|
neovim \
|
|
|
|
openssh \
|
|
|
|
p7zip \
|
|
|
|
python \
|
|
|
|
python-jinja \
|
|
|
|
python-kubernetes \
|
|
|
|
python-netaddr \
|
|
|
|
python-pip \
|
|
|
|
python-rich \
|
|
|
|
sudo \
|
|
|
|
terraform \
|
|
|
|
yamllint
|
2021-12-05 21:48:14 +07:00
|
|
|
|
2022-04-04 03:19:32 +07:00
|
|
|
# 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 \
|
|
|
|
&& chmod +x /usr/local/bin/k3d
|
|
|
|
|
2021-12-31 23:55:46 +07:00
|
|
|
# TODO https://github.com/ansible-collections/community.docker/issues/216
|
2021-12-05 21:57:33 +07:00
|
|
|
RUN pip install docker-compose
|