Base image extension with s6-overlay
3.9K
Base image extension with s6-overlay:
cron and rsyslogd servicesstdout or stderrJust extend it in your Dockerfile using FROM. Example:
FROM robbertkl/base-s6
RUN cleaninstall package1 package2 package3
RUN echo /var/log/custom.log >> /etc/services.d/logs/stderr
...
To have your custom logs show up in docker logs, you can append your name to either /etc/services.d/logs/stdout or /etc/services.d/logs/stderr.
As a convention, please copy or mount your SSL files to /private/ssl named cert.pem, key.pem and ca.pem. A default (snakeoil) certificate will be provided as a fallback. Create custom (combined) pem bundles from these files in your s6 run scripts.
Alternatively, you can mount a Let's Encrypt configuration to /etc/letsencrypt and set LETSENCRYPT_HOST to the hostname of the certificate to use. Symlinks with the correct names will then be create in /private/ssl.
This repo is published under the MIT License.
Content type
Image
Digest
Size
99.2 MB
Last updated
about 7 years ago
Requires Docker Desktop 4.37.1 or later.