mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 15:19:46 +00:00
- this needs an init as it does not respond to stop signals, so include tini - needs CAP_SYS_ADMIN to write to kernel entropy estimate - set kernel.random.write_wakeup_threshold so that rngd does not need sysctl write access - build patches from Alpine, but statically linked - remove rngd from base image, means we no longer need community repository Signed-off-by: Justin Cormack <justin.cormack@docker.com>
10 lines
401 B
Docker
10 lines
401 B
Docker
# Tag: 7b94dce736818ca5c9d5367be360b79714687ca5
|
|
FROM mobylinux/alpine-build-c@sha256:9157aa25a781b5c47c563c0b9a5d564d41b32ceac9bf26d1e1249e8849d62c8b
|
|
|
|
ENV TINI_VERSION=0.13.0
|
|
ADD https://github.com/krallin/tini/archive/v${TINI_VERSION}.tar.gz tini-${TINI_VERSION}.tar.gz
|
|
RUN zcat tini-${TINI_VERSION}.tar.gz | tar xvf -
|
|
WORKDIR tini-${TINI_VERSION}
|
|
RUN cmake . && make
|
|
RUN cp -a tini-static /bin/tini
|