Skip to content

Commit fbe151f

Browse files
committed
Remove mounts and entrypoint
1 parent 4bbedab commit fbe151f

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

Dockerfile

Lines changed: 1 addition & 9 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 \
@@ -12,10 +10,4 @@ RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots 4.4.
1210
# Install GitVersion
1311
RUN curl -Ls https://github.com/GitTools/GitVersion/releases/download/v4.0.0-beta.9/GitVersion.CommandLine.4.0.0-beta0009.nupkg -o tmp.zip \
1412
&& unzip -d /usr/lib/GitVersion tmp.zip \
15-
&& rm tmp.zip
16-
17-
WORKDIR /usr/lib/GitVersion/tools
18-
19-
VOLUME ["/src"]
20-
21-
ENTRYPOINT ["mono", "./GitVersion.exe", "/src"]
13+
&& rm tmp.zip

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)