Public Repository

Last pushed: 2 years ago
Short Description
Container for building ponyc. See full description for full dockerfile.
Full Description

Full docker file:

FROM ubuntu:15.10

RUN dpkg --add-architecture armhf && \
    grep -i '^deb http' /etc/apt/sources.list | \
    sed -e 's/archive/ports/' -e 's!/ubuntu!/ubuntu-ports!' \
    -e 's/deb http/deb [arch=armhf] http/' | \
    tee /etc/apt/sources.list.d/armhf.list && \
    sed -i -e 's/deb http/deb [arch=amd64,i386] http/' /etc/apt/sources.list && \
    apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
    automake \
    autotools-dev \
    build-essential \
    file \
    g++-multilib \
    gcc-multilib \
    git \
    libicu-dev \
    libncurses5-dev \
    libpcre3 \
    libssl-dev \
    libxml2-dev \
    zlib1g-dev \
    curl \
    software-properties-common && \
    echo 'deb [arch=amd64,i386] http://llvm.org/apt/wily/ llvm-toolchain-wily-3.7 main' > /etc/apt/sources.list.d/llvm.list && \
    echo 'deb-src http://llvm.org/apt/wily/ llvm-toolchain-wily-3.7 main' >> /etc/apt/sources.list.d/llvm.list && \
    curl http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add - && \
    add-apt-repository -y ppa:linaro-maintainers/toolchain && \
# hack to make apt-get update not fail due to ppa not having proper Packages files
    (apt-get update || true) && DEBIAN_FRONTEND=noninteractive apt-get install -y \
    llvm-3.7 \
    llvm \
    gcc-arm-linux-gnueabihf \
    g++-arm-linux-gnueabihf && \
    rm -rf /var/lib/apt/lists/* && \
    apt-get -y autoremove --purge && \
    apt-get -y clean && \
# build libpcre2
    mkdir -p /tmp/pcre-src && \
    curl -SL -o /tmp/pcre-src/repo.tbz2 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.20.tar.bz2 && \
    tar xf /tmp/pcre-src/repo.tbz2 -C /tmp/pcre-src && \
    ln -s /tmp/pcre-src/*pcre* /tmp/pcre-src/pcre && \
    cd /tmp/pcre-src/pcre && \
    ./configure --prefix=/usr && \
    make && \
    make install && \
    rm -r /tmp/pcre-src/*pcre*
Docker Pull Command
Owner
dipinhora