# 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 && \
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