dockerfiles/base/alpine/box.rb

24 lines
724 B
Ruby
Raw Normal View History

2017-01-11 08:03:58 +00:00
from "alpine:edge"
copy "repositories", "/etc/apk/repositories"
copy "runit/", "/etc/system"
2017-02-22 19:59:00 +00:00
copy "bin/", "/bin"
2017-01-11 08:03:58 +00:00
run "apk upgrade --no-cache"
2017-02-05 16:32:48 +00:00
run "apk add --no-cache --virtual xe-alpine-base tini ca-certificates runit libc6-compat"
2017-01-11 08:03:58 +00:00
2017-02-05 16:32:48 +00:00
# if libtinfo.so.5 is used, install ncurses5-libs via apk
run "ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5"
run %q[ apk add -U --no-cache wget \
2017-05-07 17:51:27 +00:00
&& wget https://xena.greedo.xeserv.us/pkg/alpine/edge/core/x86_64/xeserv-keys-1.4-r0.apk \
&& apk add --allow-untrusted ./xeserv-keys-1.4-r0.apk \
&& rm ./xeserv-keys-1.4-r0.apk \
2017-02-05 16:32:48 +00:00
&& apk del wget ]
2017-01-11 08:03:58 +00:00
copy "./entrypoint.sh", "/usr/sbin/entrypoint.sh"
entrypoint "/usr/sbin/entrypoint.sh"
flatten
tag "xena/alpine"