dotnet-installer/scripts/docker/Dockerfile

21 lines
974 B
Text
Raw Normal View History

# Dockerfile that creates a container suitable to build dotnet-cli
2015-10-29 10:02:14 -07:00
FROM debian:jessie
2015-10-29 10:02:14 -07:00
# This could become a "microsoft/coreclr" image, since it just installs the dependencies for CoreCLR (and stdlib)
# Install CoreCLR dependencies (and clean APT cache)
RUN apt-get update && \
apt-get -qqy install unzip curl libicu-dev libunwind8 gettext libssl-dev libcurl3-gnutls zlib1g && \
rm -rf /var/lib/apt/lists/*
2015-10-21 23:41:38 -07:00
2015-10-29 10:33:39 -07:00
# No longer need to install DNX since it is embedded (and soon will be gone!)
2015-10-29 10:02:14 -07:00
# Install Package Build Prereqs (and clean up APT cache after to save space in the image)
RUN echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main" | tee /etc/apt/sources.list.d/llvm.list && \
curl http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - && \
apt-get update && \
apt-get install -y debhelper build-essential devscripts git liblttng-ust-dev lldb-3.6-dev && \
rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /opt/code