File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 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" ]
You can’t perform that action at this time.
0 commit comments