Use Arch instead of Alpine for tools container

This commit is contained in:
Khue Doan
2021-04-21 14:50:34 +07:00
parent 7b3c2e256e
commit bc28aef29d
2 changed files with 11 additions and 14 deletions

View File

@ -1,21 +1,19 @@
FROM alpine
FROM archlinux
RUN apk add --no-cache \
# TODO investigate why --noconfirm is not working
RUN yes | pacman --sync --refresh \
ansible \
curl \
docker-cli \
docker \
git \
make \
neovim \
openssh \
python3 \
tree \
zsh
RUN apk add --no-cache --repository "http://dl-cdn.alpinelinux.org/alpine/edge/testing" \
helm \
kubectl \
lxd \
terraform
make \
neovim \
openssh \
python \
terragrunt \
zsh
ENTRYPOINT [ "/bin/zsh", "-c" ]
CMD [ "/bin/zsh" ]

View File

@ -20,6 +20,5 @@ run:
--env "HOME=${HOME}" \
--volume "${HOME}:${HOME}" \
--volume "/var/run/docker.sock:/var/run/docker.sock" \
--user "$(shell id -u ${USER}):$(shell id -g ${USER})" \
--workdir "$(shell pwd)/.." \
${TAG}