summaryrefslogtreecommitdiff
path: root/docker/biboumi/README.rst
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-02-28 19:39:09 +0100
committerlouiz’ <louiz@louiz.org>2017-02-28 19:39:09 +0100
commit26eb28dc2368d14e171201a0c6b76b76b19e1ddc (patch)
treeafe81334ec7fdab43fabe18733e4c73bfedc6a3f /docker/biboumi/README.rst
parentdcb48c5a20be1440ad87f1996b3373cb51f0fe07 (diff)
downloadbiboumi-26eb28dc2368d14e171201a0c6b76b76b19e1ddc.tar.gz
biboumi-26eb28dc2368d14e171201a0c6b76b76b19e1ddc.tar.bz2
biboumi-26eb28dc2368d14e171201a0c6b76b76b19e1ddc.tar.xz
biboumi-26eb28dc2368d14e171201a0c6b76b76b19e1ddc.zip
Split the biboumi dockerfile into two, to be able to disable the cache
Diffstat (limited to 'docker/biboumi/README.rst')
-rw-r--r--docker/biboumi/README.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/biboumi/README.rst b/docker/biboumi/README.rst
index f6d529d..d2e2a7e 100644
--- a/docker/biboumi/README.rst
+++ b/docker/biboumi/README.rst
@@ -76,3 +76,23 @@ The database is stored in the /var/lib/biboumi/ directory. If you don’t bind
a local directory to it, the database will be lost when the container is
stopped. If you want to keep your database between each run, bind it with
the -v option, like this: **-v /srv/biboumi/:/var/lib/biboumi**.
+
+Building
+--------
+
+This image is built from 2 Dockerfiles:
+- Dockerfile.base: builds and installs all the dependencies needed to build and run biboumi
+- Dockerfile: builds and installs biboumi itself
+
+The goal is to be able to force the rebuild of biboumi itself (by using
+the --no-cache option) without having to rebuild and install all its
+dependencies.
+
+The build does not require any file in the build context, everything is
+fetched during the build using git or dnf.
+
+To build a biboumi image named “foo/biboumi”, you can run the script:
+
+```
+./build-docker.sh foo/biboumi
+```