feat: add su-exec
the build was successful Details

This commit is contained in:
Jan Christian Grünhage 2017-12-13 16:28:27 +01:00
parent 2d9c32d527
commit 097e98919f
Signed by: jcgruenhage
GPG Key ID: 6594C449C633D10C
3 changed files with 10 additions and 8 deletions

View File

@ -1,10 +1,11 @@
FROM docker.io/alpine
FROM docker.io/alpine:3.7
MAINTAINER Jan Christian Grünhage <jan.christian@gruenhage.xyz>
RUN apk update \
&& apk upgrade \
&& apk add \
s6
ADD root /
RUN apk update \
&& apk upgrade \
&& apk add \
s6 \
su-exec
ADD root /
CMD ["/bin/s6-svscan", "/etc/s6.d"]
CMD ["/bin/s6-svscan", "/etc/s6.d"]

3
root/etc/s6.d/.s6-svscan/finish Normal file → Executable file
View File

@ -1 +1,2 @@
#!/bin/sh
#!/bin/sh
exec /bin/true

0
root/etc/s6.d/cron/finish Normal file → Executable file
View File