summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-07-25 21:51:17 +0200
committerlouiz’ <louiz@louiz.org>2017-07-25 21:51:50 +0200
commit22cb2659e9204b65d7449af4c84ddcf9162c5cc4 (patch)
tree5d197dd1855b6d5b3c7f18de6f20c1f6de64bb9d
parent308869aa73c7c03d7e9fad2a780bf132e03c8c5a (diff)
downloadbiboumi-22cb2659e9204b65d7449af4c84ddcf9162c5cc4.tar.gz
biboumi-22cb2659e9204b65d7449af4c84ddcf9162c5cc4.tar.bz2
biboumi-22cb2659e9204b65d7449af4c84ddcf9162c5cc4.tar.xz
biboumi-22cb2659e9204b65d7449af4c84ddcf9162c5cc4.zip
Move the Dockerfile inside an alpine subdirectory
-rw-r--r--docker/biboumi/alpine/Dockerfile (renamed from docker/biboumi/Dockerfile)7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/biboumi/Dockerfile b/docker/biboumi/alpine/Dockerfile
index 67f0f41..da60796 100644
--- a/docker/biboumi/Dockerfile
+++ b/docker/biboumi/alpine/Dockerfile
@@ -1,4 +1,9 @@
# This Dockerfile creates a docker image running biboumi
+#
+# It is built by compiling the sources and all its dependencies
+# directly inside the image.
+# This is the prefered way to build the release image, used by the
+# end users, in production.
FROM docker.io/alpine:latest
@@ -32,7 +37,7 @@ RUN adduser biboumi -D -h /home/biboumi
RUN mkdir /var/lib/biboumi
RUN chown -R biboumi:biboumi /var/lib/biboumi
-COPY ./biboumi.cfg /etc/biboumi/biboumi.cfg
+COPY ../biboumi.cfg /etc/biboumi/biboumi.cfg
RUN chown -R biboumi:biboumi /etc/biboumi
WORKDIR /home/biboumi