summaryrefslogtreecommitdiff
path: root/docker/biboumi/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/biboumi/Dockerfile')
-rw-r--r--docker/biboumi/Dockerfile30
1 files changed, 5 insertions, 25 deletions
diff --git a/docker/biboumi/Dockerfile b/docker/biboumi/Dockerfile
index 721d106..7e73c9a 100644
--- a/docker/biboumi/Dockerfile
+++ b/docker/biboumi/Dockerfile
@@ -1,28 +1,8 @@
-# This Dockerfile creates a docker image running biboumi
-
-FROM docker.io/fedora:latest
-
-RUN dnf --refresh install -y\
- gcc-c++\
- cmake\
- make\
- udns-devel\
- sqlite-devel\
- libuuid-devel\
- expat-devel\
- libidn-devel\
- systemd-devel\
- git\
- python\
- && dnf clean all
-
-# Install botan
-RUN git clone https://github.com/randombit/botan.git && cd botan && ./configure.py --prefix=/usr && make -j8 && make install && ldconfig && rm -rf /botan
-
-# Install litesql
-RUN git clone git://git.louiz.org/litesql && mkdir /litesql/build && cd /litesql/build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make -j8 && cd /litesql/build && make install && ldconfig && rm -rf /litesql
-
-# Install biboumi
+# This dockerfile uses the image built using Dockerfile.base, and installs
+# biboumi in it
+
+FROM biboumi-base
+
RUN git clone git://git.louiz.org/biboumi && mkdir ./biboumi/build && cd ./biboumi/build &&\
cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DCMAKE_BUILD_TYPE=Release\