1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-04 08:41:31 +01:00
dotfiles/dev/Dockerfile.archlinux

Failed to ignore revisions in .git-blame-ignore-revs.

19 lines
386 B
Docker
Raw Permalink Normal View History

FROM archlinux:latest
ENV TERM=xterm-256color
2024-07-04 12:21:21 +02:00
RUN --mount=type=cache,target=/var/cache/pacman \
pacman --noconfirm -Syu && pacman --noconfirm -Sy \
python \
openssh
# uncomment to hardcode ssh_host keys in the image
# RUN ssh-keygen -A
2024-07-04 12:21:21 +02:00
WORKDIR /root/.dotfiles
COPY . .
RUN cat dev/id_ed25519.pub >> /root/.ssh/authorized_keys
CMD ["bash", "dev/entrypoint.sh"]