File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ ARG GitVersionZip
66# Add GitVersion
77
88ADD ./releaseArtifacts/$GitVersionZip .
9- RUN unzip -d /usr/lib/GitVersion/ $GitVersionZip
10- RUN rm $GitVersionZip
9+ RUN unzip -d /usr/lib/GitVersion/ $GitVersionZip && rm $GitVersionZip
1110WORKDIR /usr/lib/GitVersion/
1211
1312# Libgit2 can't resolve relative paths, patch to absolute path
@@ -16,4 +15,4 @@ RUN sed -i 's|lib/linux/x86_64|/usr/lib/GitVersion/lib/linux/x86_64|g' /usr/lib/
1615RUN mkdir /repo
1716VOLUME /repo
1817
19- ENTRYPOINT ["mono" , "./GitVersion.exe" , "/repo" ]
18+ ENTRYPOINT ["mono" , "./GitVersion.exe" , "/repo" ]
Original file line number Diff line number Diff line change 1- FROM ubuntu
1+ FROM ubuntu:16.04
22
33MAINTAINER 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
77RUN 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
108RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
11- RUN apt-get update
12- RUN apt-get install mono-complete -y
9+ RUN apt-get update && apt-get install libcurl3 tzdata unzip curl git-all mono-complete -y && apt-get -yqq clean
1310RUN cp /usr/share/zoneinfo/GMT /etc/localtime
You can’t perform that action at this time.
0 commit comments