Commit 0002b69f authored by ale's avatar ale
Browse files

Set --no-syslog and define an ENTRYPOINT

parent 70f7318f
Pipeline #4954 passed with stages
in 2 minutes and 4 seconds
......@@ -4,3 +4,6 @@ COPY build.sh /tmp/build.sh
COPY chaperone.conf /etc/chaperone.d/chaperone.conf
RUN /tmp/build.sh && rm /tmp/build.sh
ENTRYPOINT ["/usr/local/bin/chaperone", "--no-syslog"]
......@@ -5,9 +5,13 @@ Docker base image with [Chaperone](https://github.com/garywiz/chaperone),
a minimal init daemon for container images.
Users of this base image should provide their own chaperone configuration
files and install them in */etc/chaperone.d*, as well as setting the
Docker ENTRY\_POINT to */usr/local/bin/chaperone*.
files and install them in */etc/chaperone.d*.
Child images shouldn't override the container's ENTRYPOINT, which is already set
to start chaperone with the appropriate options.
Since this image is used by most of our containers, it also sets up
the ai3 Debian package repository, so we don't have to add another
dependency for this very common task.
dependency for this very common task, and it disables chaperone's own
/dev/log socket, as we are bind-mounting the system one.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment