mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 17:53:53 +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>
26 lines
326 B
Docker
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
|