Skip to content

Commit 3259623

Browse files
authored
Combine to a single RUN command and clean cache afterwards
1 parent 75fc4e2 commit 3259623

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/DockerBase/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ MAINTAINER GitTools Maintainers <[email protected]>
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
10-
RUN 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
8+
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list
9+
.d/mono-xamarin.list
10+
RUN apt-get update && apt-get install libcurl3 tzdata unzip curl git-all mono-complete -y && apt-get -yqq clean
1311
RUN cp /usr/share/zoneinfo/GMT /etc/localtime

0 commit comments

Comments
 (0)