FROM debian RUN apt update && apt install -y git && rm -rf /var/libapt/lists/* && mkdir /var/repos && chmod 1777 /var/repos CMD ["/usr/bin/git", "daemon", "--syslog", "--base-path=/var/repos", "--export-all"]