Public Repository

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

Full docker file:

FROM sendence/ponyc-runner:0.0.5

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 \
    git \
    libicu-dev \
    libncurses5-dev \
    libpcre3 \
    libssl-dev \
    libxml2-dev \
    zlib1g-dev \
    curl \
    software-properties-common \
    gcc-arm-linux-gnueabihf \
    g++-arm-linux-gnueabihf && \
    rm -rf /var/lib/apt/lists/* && \     
    apt-get -y autoremove --purge && \
    apt-get -y clean && \
# get llvm
    cd /tmp && \     
    curl -O http://llvm.org/releases/3.8.1/clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz && \    
    tar -xf clang+llvm*.tar.xz -C /usr/local --strip-components 1 && \    
    rm -r clang+llvm* && \
# 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.21.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
sendence

Comments (0)