test on centos7 via docker

This commit is contained in:
Dane Springmeyer
2017-11-07 09:44:25 -08:00
parent 5a68886b4d
commit 95cc1672b9
4 changed files with 31 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM centos:7
RUN yum install -y make sqlite-devel zlib-devel bash git gcc-c++
# Create a directory and copy in all files
RUN mkdir -p /tmp/tippecanoe-src
WORKDIR /tmp/tippecanoe-src
COPY . /tmp/tippecanoe-src
# Build tippecanoe
RUN make \
&& make install
# Run the tests
CMD make test