Adding dockerfiles for isolated build.

pull/201/head
Topher Sterling 2018-04-07 19:55:39 -06:00
parent 84c57c121e
commit 80bbe5f940
2 changed files with 18 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
.git

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM ubuntu:16.04
RUN apt-get update && \
apt-get install --yes git cmake build-essential \
libgcrypt11-dev libyajl-dev libboost-all-dev \
libcurl4-openssl-dev libexpat1-dev libcppunit-dev \
binutils-dev pkg-config zlib1g-dev && \
rm -rf /var/cache/apt/archives
VOLUME /data
WORKDIR /data
# docker build -t grive2 .
# docker run --name grive2 --rm -it -v $PWD:/data grive2:latest