Skip to content

Commit 9eb5c47

Browse files
committed
Add 4.0.0-beta.7
1 parent e00c61d commit 9eb5c47

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

4.0.0/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/v4.0.0-beta.7/GitVersion.CommandLine.4.0.0-beta0007.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"]

0 commit comments

Comments
 (0)