Skip to content

Commit d63d0a6

Browse files
committed
updated gitversion to 4.0.0-beta0012
2 parents 3580cb2 + 8372ef7 commit d63d0a6

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM mono
22

3-
MAINTAINER Alexander Gavrilov <inbox@ilucker.com>
4-
53
# Install software for GitVersion
64
RUN 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\nexec 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

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,4 @@
22

33
GitVersion 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)

0 commit comments

Comments
 (0)