docker-playground/git-daemon/Dockerfile

18 lines
269 B
Docker

FROM debian:latest
MAINTAINER laforge@gnumonks.org
ENV DEBIAN_FRONTEND noninteractive
# Install git
RUN apt-get update -qq
RUN apt-get install -qqy git
ADD git-daemon.sh /usr/bin/git-daemon.sh
VOLUME /git
# git daemon ports
EXPOSE 9418
CMD /usr/bin/git-daemon.sh