inits/Dockerfile

13 lines
408 B
Docker
Raw Normal View History

2019-04-02 02:40:08 +00:00
# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.21.4 as build
2019-04-02 02:40:08 +00:00
# ------------------------------------------------------------------------
2023-11-07 11:20:36 +00:00
from alpine:3.18.4
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/