Files
linuxkit/alpine/base/alpine-base/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

27 lines
346 B
Docker

FROM alpine:3.4
COPY repositories /etc/apk/
RUN \
apk update && apk upgrade -a && \
apk add --no-cache \
busybox-initscripts \
chrony \
cifs-utils \
curl \
dhcpcd \
e2fsprogs \
e2fsprogs-extra \
fuse \
git \
hvtools \
iptables \
jq \
openrc \
openssh-client \
sfdisk \
strace \
sysklogd \
xz \
&& true