inits/Dockerfile

13 lines
406 B
Docker
Raw Normal View History

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