mirror of
https://github.com/tomgi/git_stats.git
synced 2024-12-22 13:32:17 +01:00
Add Dockerfile.
Build: docker build -t git_stats:latest . Usage: docker run /path/to/repo:/src git_stats:latest
This commit is contained in:
parent
cb0af46e18
commit
6db7aabdfd
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM debian:stretch-slim
|
||||
#RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y git ruby ruby-nokogiri ruby-nokogiri-diff ruby-nokogumbo \
|
||||
&& gem install git_stats \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /src
|
||||
CMD git_stats generate
|
Loading…
Reference in a new issue