From 0d7d5a263246bb19882176ff0cc80d29013ce73b Mon Sep 17 00:00:00 2001 From: Chen Date: Fri, 28 May 2021 16:35:42 -0700 Subject: [PATCH] add docker file --- Dockerfile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d75d748 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,32 @@ +From ubuntu:18.04 + +ARG DEBIAN_FRONTEND=noninteractive + +ENV GIT_SSL_NO_VERIFY=1 + +RUN apt-get -qq update && apt-get install -yq \ + autoconf \ + automake \ + build-essential \ + cmake \ + git-all \ + libboost-all-dev \ + libfreetype6-dev \ + liblzma-dev \ + libpng-dev \ + m4 \ + python3-pip \ + python-pkgconfig \ + software-properties-common \ + zlib1g-dev \ + libbz2-dev \ + googletest \ + ca-certificates && update-ca-certificates + +ADD . /opt/expansionhunter + +RUN mkdir /opt/expansionhunter/build +WORKDIR /opt/expansionhunter/build +RUN cmake /opt/expansionhunter -DCMAKE_INSTALL_PREFIX=/opt/expansionhunter && make && make install + +CMD ["/opt/expansionhunter/build/ExpansionHunter"] \ No newline at end of file