From 4b5d8b077410ce978bf991726da5708bc7a817f5 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 9 Aug 2021 13:14:32 -0400 Subject: [PATCH] Minor adjustments to the Dockerfile --- Dockerfile | 5 ++++- README.txt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02015b2..3a62e8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ # Dockerfile for Citadel +# This container is built on MiniDeb, a stripped down version of Debian for use in containers. +# Rehosting on another base Linux image is not expected to create compatibility issues. FROM bitnami/minideb:latest +# All long term persistent data goes here. Any volume driver may be used. VOLUME /citadel-data # Install prerequisites -RUN install_packages gcc make zlib1g-dev libldap2-dev libssl-dev gettext libical-dev libexpat1-dev curl libcurl4-openssl-dev git autoconf automake netbase libreadline-dev +RUN install_packages gcc bison make zlib1g-dev libldap2-dev libssl-dev gettext libical-dev libexpat1-dev curl libcurl4-openssl-dev git autoconf automake netbase libreadline-dev # Build our own local copy of Berkeley DB, because the one included with the system libs is too old. RUN sh -c 'mkdir /tmp/db_build && \ diff --git a/README.txt b/README.txt index 19f131a..2f1c848 100644 --- a/README.txt +++ b/README.txt @@ -16,7 +16,7 @@ that continue falling out of date in individual Linux/Linux distributions. To build the container image, simply run the following command from this directory: -docker build . +docker build -t citadel . The resulting image can be run as a standalone container. It will expose ports for all of the services provided by Citadel Server, and two instances -- 2.30.2