1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-05 11:51:31 +01:00
dotfiles/dev/Dockerfile.archlinux
bretello 762f3ef58c
install: use ansible
- ansible/playbooks/setup.yml can be used to install all dotfiles
- a test setup is included in the `dev` folder with arch and debian
  images
2020-12-08 00:36:08 +01:00

16 lines
342 B
Docker

FROM archlinux:latest
ENV TERM=xterm-256color
RUN pacman --noconfirm -Syu && pacman --noconfirm -Sy \
python \
openssh \
&& rm -rf /var/cache/pacman/*
# uncomment to hardcode ssh_host keys in the image
# RUN ssh-keygen -A
COPY id_ed25519.pub /root/.ssh/authorized_keys
WORKDIR /root/
COPY entrypoint.sh /
CMD ["bash", "/entrypoint.sh"]