mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-06 08:22:10 +07:00
Use Arch instead of Alpine for tools container
This commit is contained in:
@ -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" ]
|
||||
|
@ -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}
|
||||
|
Reference in New Issue
Block a user