inits/Dockerfile

13 lines
406 B
Docker
Raw Normal View History

2019-04-02 13:40:08 +11:00
# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.15.1 as build
2019-04-02 13:40:08 +11:00
# ------------------------------------------------------------------------
from alpine:3.12
2020-10-02 06:27:50 +02:00
entrypoint mksquashfs /layer /layer.squashfs -noappend -comp xz >&2 && base64 </layer.squashfs
2020-10-02 06:07:29 +02:00
run apk add --update squashfs-tools
2019-04-02 13:40:08 +11:00
add layer/ /layer/
2019-10-23 17:11:47 +11:00
copy --from=build /go/bin/ /layer/sbin/