Merge pull request #3369 from eerhardt/FixDocker
Port @ellismg's debian docker file fix to CLI.
This commit is contained in:
commit
b512ddb8b8
1 changed files with 29 additions and 50 deletions
|
@ -7,60 +7,39 @@
|
||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
|
|
||||||
# Misc Dependencies for build
|
# Misc Dependencies for build
|
||||||
RUN apt-get update && apt-get -qqy install curl unzip gettext sudo
|
RUN apt-get update && \
|
||||||
|
apt-get -qqy install \
|
||||||
|
curl \
|
||||||
|
unzip \
|
||||||
|
gettext \
|
||||||
|
sudo && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# This could become a "microsoft/coreclr" image, since it just installs the dependencies for CoreCLR (and stdlib)
|
# This could become a "microsoft/coreclr" image, since it just installs the dependencies for CoreCLR (and stdlib)
|
||||||
RUN echo "deb http://llvm.org/apt/jessie/ llvm-toolchain-jessie-3.6 main" | tee /etc/apt/sources.list.d/llvm.list && \
|
RUN apt-get update &&\
|
||||||
curl http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - && \
|
apt-get -qqy install \
|
||||||
apt-get update && apt-get -qqy install\
|
libunwind8 \
|
||||||
libc6 \
|
libkrb5-3 \
|
||||||
libedit2 \
|
libicu52 \
|
||||||
libffi6 \
|
liblttng-ust0 \
|
||||||
libgcc1 \
|
libssl1.0.0 \
|
||||||
libicu52 \
|
zlib1g \
|
||||||
liblldb-3.6 \
|
libuuid1 && \
|
||||||
libllvm3.6 \
|
apt-get clean && \
|
||||||
liblttng-ust0 \
|
rm -rf /var/lib/apt/lists/*
|
||||||
liblzma5 \
|
|
||||||
libncurses5 \
|
|
||||||
libpython2.7 \
|
|
||||||
libstdc++6 \
|
|
||||||
libtinfo5 \
|
|
||||||
libunwind8 \
|
|
||||||
libuuid1 \
|
|
||||||
zlib1g \
|
|
||||||
libasn1-8-heimdal \
|
|
||||||
libcomerr2 \
|
|
||||||
libcurl3 \
|
|
||||||
libgpg-error0 \
|
|
||||||
libgssapi3-heimdal \
|
|
||||||
libgssapi-krb5-2 \
|
|
||||||
libhcrypto4-heimdal \
|
|
||||||
libheimbase1-heimdal \
|
|
||||||
libheimntlm0-heimdal \
|
|
||||||
libhx509-5-heimdal \
|
|
||||||
libidn11 \
|
|
||||||
libk5crypto3 \
|
|
||||||
libkeyutils1 \
|
|
||||||
libkrb5-26-heimdal \
|
|
||||||
libkrb5-3 \
|
|
||||||
libkrb5support0 \
|
|
||||||
libldap-2.4-2 \
|
|
||||||
libp11-kit0 \
|
|
||||||
libroken18-heimdal \
|
|
||||||
libsasl2-2 \
|
|
||||||
libsqlite3-0 \
|
|
||||||
libssl1.0.0 \
|
|
||||||
libssl-dev \
|
|
||||||
libtasn1-6 \
|
|
||||||
libwind0-heimdal
|
|
||||||
|
|
||||||
# Install Dotnet CLI dependencies.
|
|
||||||
# clang is required for dotnet-compile-native
|
|
||||||
RUN apt-get -qqy install clang-3.5
|
|
||||||
|
|
||||||
# Install Build Prereqs
|
# Install Build Prereqs
|
||||||
RUN apt-get -qq install -y debhelper build-essential devscripts git cmake
|
RUN apt-get update && \
|
||||||
|
apt-get -qqy install \
|
||||||
|
debhelper \
|
||||||
|
build-essential \
|
||||||
|
devscripts \
|
||||||
|
git \
|
||||||
|
cmake \
|
||||||
|
clang-3.5 && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Use clang as c++ compiler
|
# Use clang as c++ compiler
|
||||||
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.5 100
|
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-3.5 100
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue