Move binutils and curl to fat image

This commit is contained in:
Alexander Köplinger 2017-08-19 02:13:22 +02:00
Родитель f04b72d570
Коммит c895836e0e
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -4,5 +4,5 @@ FROM mono:5.2.0.215-slim
# MAINTAINER Alexander Köplinger <alkpli@microsoft.com>
RUN apt-get update \
&& apt-get install -y mono-devel ca-certificates-mono fsharp mono-vbnc nuget referenceassemblies-pcl \
&& apt-get install -y binutils curl mono-devel ca-certificates-mono fsharp mono-vbnc nuget referenceassemblies-pcl \
&& rm -rf /var/lib/apt/lists/* /tmp/*

Просмотреть файл

@ -5,13 +5,9 @@ FROM debian:jessie-slim
ENV MONO_VERSION 5.2.0.215
RUN apt-get update \
&& apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/*
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian jessie/snapshots/$MONO_VERSION main" > /etc/apt/sources.list.d/mono-official.list \
&& apt-get update \
&& apt-get install -y binutils mono-runtime \
&& apt-get install -y mono-runtime \
&& rm -rf /var/lib/apt/lists/* /tmp/*