Minor adjustments to the Dockerfile
authorArt Cancro <ajc@citadel.org>
Mon, 9 Aug 2021 17:14:32 +0000 (13:14 -0400)
committerArt Cancro <ajc@citadel.org>
Mon, 9 Aug 2021 17:14:32 +0000 (13:14 -0400)
Dockerfile
README.txt

index 02015b2fd3306dd4e166d484e01966afda8c9241..3a62e8d2e619fd6fda5a7d2f236f1e85f54cdae1 100644 (file)
@@ -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 && \
index 19f131a31d90f1212e1092182f86751c86dd4091..2f1c848b8b22dcee4d45969df35e0807c8ee4ca9 100644 (file)
@@ -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