dockerfiles/git-daemon/Dockerfile

13 lines
227 B
Docker
Raw Normal View History

2020-04-08 13:05:07 +02:00
FROM alpine:3.12
RUN apk --no-cache add \
fcgiwrap \
spawn-fcgi \
git-daemon
COPY entrypoint /usr/local/bin/entrypoint
RUN chmod +x /usr/local/bin/entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint"]
CMD "daemon"