mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
d9f675817e
This contains the culmination of work done privately for a few months, and is intended to be a solid basis for other peoples' experimentations with setting up single-node, home-server setups using Fedora CoreOS.
15 lines
418 B
Docker
15 lines
418 B
Docker
FROM docker.io/debian:stable-slim
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends git openssh-server ca-certificates
|
|
|
|
RUN addgroup --system --gid 10000 git
|
|
RUN adduser --system --uid 10000 --ingroup git --shell /usr/bin/git-shell --home /home/git git
|
|
RUN mkdir -p /var/run/sshd
|
|
|
|
COPY container/config /etc/ssh
|
|
COPY container/run-git-server /run-git-server
|
|
|
|
EXPOSE 22
|
|
CMD ["/run-git-server"]
|