Skip to content

Commit 7ca3eeb

Browse files
author
Jake Ginnivan
committed
Updated base image and added docker to readme
1 parent 23d8361 commit 7ca3eeb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ works out the [semantic version][semver] of the commit being built.
1717
| **GitVersion.CommandLine** | [![NuGet][gvc-badge]][gvc] | [![NuGet][gvc-pre-badge]][gvc] |
1818
| **Gem** | [![Gem][gem-badge]][gem] | - |
1919
| **Homebrew** | [![homebrew][brew-badge]][brew] | - |
20+
| **Docker** | [gittools/gitversion][dockerhub] | - |
2021

2122
## Compatibility
2223
GitVersion works on Mac, Linux with Mono and Windows.
@@ -84,3 +85,4 @@ from The Noun Project
8485
[faq]: http://gitversion.readthedocs.org/en/latest/faq/
8586
[who]: http://gitversion.readthedocs.org/en/latest/who/
8687
[gv-in-action]: https://raw.github.com/GitTools/GitVersion/master/docs/img/README.png
88+
[dockerhub]: https://hub.docker.com/r/gittools/gitversion/

src/DockerBase/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu
22

33
MAINTAINER GitTools Maintainers <[email protected]>
44

55
# Wheezy doesn't support glibc 2.15 which libgit2sharp requires
66
# So we are going to install mono on ubuntu instead
77
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
8+
RUN apt-get update
9+
RUN apt-get install libcurl3 tzdata unzip curl git-all -y
810
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
911
RUN apt-get update
10-
RUN apt-get install mono-complete libcurl3 tzdata unzip curl git-all -y
12+
RUN apt-get install mono-complete -y
1113
RUN cp /usr/share/zoneinfo/GMT /etc/localtime

0 commit comments

Comments
 (0)