Files
linuxkit/alpine/base/alpine-build-c/Dockerfile
Justin Cormack bf1c21e045 Run rngd inside a system container
- 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>
2016-12-02 14:00:12 +00:00

26 lines
326 B
Docker

FROM alpine:3.4
RUN \
apk update && apk upgrade && \
apk add \
alpine-sdk \
argp-standalone \
automake \
bash \
bc \
cmake \
curl \
gmp-dev \
installkernel \
kmod \
linux-headers \
ncurses-dev \
perl \
sed \
squashfs-tools \
syslinux \
unzip \
util-linux-dev \
vim \
xz \
&& true