Public | Automated Build

Last pushed: 2 months ago
Short Description
Base docker image including the s6-overlay but using Alpine's copy of s6
Full Description

docker-base-alpine-s6-overlay

Base docker image including the s6-overlay but using Alpine's copy of s6

This project's goal is to prepare an Alpine linux base build using
s6-overlay but with the native Alpine linux s6. This reduces the
number of separate sources for difficult-to-inspect binaries.

See the original s6-overlay project
for more details.

Recent updates have taken advantage of the new 'nobin' releases of s6-overlay,
reducing the need to massage the data format.

Updating

To synchronize the source tree with s6-overlay, update the S6_OVERLAY_RELEASE item
inside the Dockerfile.

If a new key is used, you'll need to add it to the trust keychain in keys/trust.gpg

Quickstart

Build the following Dockerfile and try this guy out:

FROM harningt/base-alpine-s6-overlay:edge
RUN apk add --update nginx && \
    rm -rf /var/cache/apk/* && \
    echo "daemon off;" >> /etc/nginx/nginx.conf
ENTRYPOINT ["/init"]
CMD ["nginx"]
docker-host $ docker build -t demo .
docker-host $ docker run --name s6demo -d -p 80:80 demo
docker-host $ docker top s6demo acxf
PID                 TTY                 STAT                TIME                COMMAND
3788                ?                   Ss                  0:00                \_ s6-svscan
3827                ?                   S                   0:00                | \_ foreground
3834                ?                   S                   0:00                | | \_ foreground
3879                ?                   S                   0:00                | | \_ nginx
3880                ?                   S                   0:00                | | \_ nginx
3881                ?                   S                   0:00                | | \_ nginx
3882                ?                   S                   0:00                | | \_ nginx
3883                ?                   S                   0:00                | | \_ nginx
3828                ?                   S                   0:00                | \_ s6-supervise
3829                ?                   S                   0:00                | \_ s6-supervise
3830                ?                   Ss                  0:00                | \_ s6-log
docker-host $ curl --head http://127.0.0.1/
HTTP/1.1 200 OK
Server: nginx/1.4.6 (Ubuntu)
Date: Thu, 26 Mar 2015 14:57:34 GMT
Content-Type: text/html
Content-Length: 612
Last-Modified: Tue, 04 Mar 2014 11:46:45 GMT
Connection: keep-alive
ETag: "5315bd25-264"
Accept-Ranges: bytes
Docker Pull Command
Owner
harningt

Comments (2)
harningt
2 months ago

Recently updated to:

  • pull in latest s6-overlay release code: v1.19.1.1
  • add Alpine 3.5 and 3.6 branch support
  • cleanup gpg verification process
harningt
10 months ago

Recently updated to pull in the latest s6-overlay release code: v1.18.1.5