Skip to content

Commit 8bf21f6

Browse files
committed
Initial commit
1 parent 0885cad commit 8bf21f6

File tree

3 files changed

+56
-2
lines changed

3 files changed

+56
-2
lines changed

3.6.4/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM mono
2+
3+
MAINTAINER Alexander Gavrilov <inbox@ilucker.com>
4+
5+
# Install software for GitVersion
6+
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 \
7+
&& echo "deb http://ftp.debian.org/debian sid main" | tee -a /etc/apt/sources.list \
8+
&& apt-get clean && apt-get update \
9+
&& apt-get install -y unzip git libc6 libc6-dev libc6-dbg \
10+
&& rm -rf /var/lib/apt/lists/* /tmp/*
11+
12+
# Install GitVersion
13+
RUN curl -Ls https://github.com/GitTools/GitVersion/releases/download/v3.6.4/GitVersion.CommandLine.3.6.4.nupkg -o tmp.zip \
14+
&& 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"]

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2016 Alexander Gavrilov
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of
5+
this software and associated documentation files (the "Software"), to deal in
6+
the Software without restriction, including without limitation the rights to
7+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8+
of the Software, and to permit persons to whom the Software is furnished to do
9+
so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
# docker-gitversion
2-
Docker images for GitVersion https://github.com/GitTools/GitVersion
1+
# Supported tags and `Dockerfile` links
2+
- [`latest` (*Dockerfile*)](https://github.com/ilucker/docker-gitversion/blob/master/3.3.6/Dockerfile)
3+
- [`3.3.6` (*Dockerfile*)](https://github.com/ilucker/docker-gitversion/blob/master/3.3.6/Dockerfile)
4+
5+
# What is GitVersion
6+
7+
GitVersion is a tool to help you achieve *Semantic Versioning* on your project.
8+
9+
* [GitVersion Project homepage](https://github.com/GitTools/GitVersion)
10+
11+
# How to use this image
12+
13+
This image will run GitVersion Command Line tool. It expects the git rempository to be bound at /src
14+
15+
$ docker run --rm -v "$PWD:/src" ilucker/gitversion /h

0 commit comments

Comments
 (0)