File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 11FROM mono
22
3- MAINTAINER Alexander Gavrilov <inbox@ilucker.com>
4-
53# Install software for GitVersion
64RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots 4.4.2.11/main" | tee /etc/apt/sources.list.d/mono-xamarin.list \
75 && echo "deb http://ftp.debian.org/debian sid main" | tee -a /etc/apt/sources.list \
@@ -14,8 +12,6 @@ RUN curl -Ls https://github.com/GitTools/GitVersion/releases/download/v4.0.0-bet
1412 && unzip -d /usr/lib/GitVersion tmp.zip \
1513 && rm tmp.zip
1614
17- WORKDIR /usr/lib/GitVersion/tools
18-
19- VOLUME ["/src" ]
15+ RUN echo '#!/bin/bash\n exec mono /usr/lib/GitVersion/tools/GitVersion.exe "$@"' > /usr/bin/git-version
2016
21- ENTRYPOINT [ "mono" , "./GitVersion.exe" , "/src" ]
17+ RUN chmod +x /usr/bin/git-version
Original file line number Diff line number Diff line change 22
33GitVersion is a tool to help you achieve * Semantic Versioning* on your project.
44
5- * [ GitVersion Project homepage] ( https://github.com/GitTools/GitVersion )
6-
7- # How to use this image
8-
9- This image will run GitVersion Command Line tool. It expects the git rempository to be bound at /src
10-
11- $ docker run --rm -v "$PWD:/src" ilucker/gitversion /h
5+ * [ GitVersion Project homepage] ( https://github.com/GitTools/GitVersion )
You can’t perform that action at this time.
0 commit comments