2019-07-13 17:51:16 +00:00
|
|
|
FROM ubuntu:xenial
|
2018-11-21 21:51:33 +00:00
|
|
|
|
|
|
|
RUN apt update && \
|
2019-07-13 17:51:16 +00:00
|
|
|
apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget && \
|
|
|
|
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | apt-key add - && \
|
|
|
|
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' && \
|
|
|
|
apt-get update && \
|
|
|
|
apt install -y build-essential cmake git libcap-dev curl ninja-build libuv1-dev
|
2018-11-21 21:51:33 +00:00
|
|
|
|
|
|
|
WORKDIR /src/
|
|
|
|
|
|
|
|
COPY . /src/
|
|
|
|
|
2019-07-13 20:34:45 +00:00
|
|
|
RUN make NINJA=ninja JSONRPC=ON STATIC_LINK=ON
|