Skip to content

Building ubuntu 15.10 package with docker

avalchev edited this page Mar 4, 2016 · 2 revisions

Dockerfile

FROM ubuntu:15.10

RUN apt-get update
RUN apt-get install -yq \
    unzip wget git curl \
    ruby ruby-dev rubygems \
    llvm cmake clang pkg-config \
    libboost-all-dev libssl-dev
RUN gem install fpm

RUN mkdir /build && mkdir /build/compile && mkdir /build/install
WORKDIR /build
RUN git clone https://github.com/cpp-netlib/cpp-netlib.git
WORKDIR /build/cpp-netlib
RUN git submodule init && git submodule update
WORKDIR /build/compile
RUN cmake -DCMAKE_INSTALL_PREFIX=/usr /build/cpp-netlib && make -j4
RUN make install DESTDIR=/build/install
RUN fpm -s dir -t deb -n libcppnetlib-dev -v 0.12.0 -C "/build/install" \
    -p libcppnetlib-dev_VERSION_ARCH.deb \
    -d "libboost-all-dev" \
    --exclude usr/lib/libgmock* \
    --exclude usr/lib/libgtest* \
    --exclude usr/include/gmock* \
    --exclude usr/include/gtest* \
    usr

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy