mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
762f3ef58c
- 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
17 lines
450 B
Docker
17 lines
450 B
Docker
FROM debian:unstable
|
|
ENV TERM=xterm-256color
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
openssh-server \
|
|
python python3 && \
|
|
rm -rf /var/cache/apt/* /etc/ssh/ssh_host_*
|
|
# ssh host keys are generated by entrypoint, remove rm /etc/ssh/ssh_host*
|
|
# to hardcode ssh host keys into the image
|
|
|
|
RUN mkdir /run/sshd
|
|
COPY id_ed25519.pub /root/.ssh/authorized_keys
|
|
|
|
WORKDIR /root/
|
|
COPY entrypoint.sh /
|
|
CMD ["bash", "/entrypoint.sh"]
|