inits/Dockerfile

13 lines
406 B
Docker
Raw Normal View History

2019-04-02 13:40:08 +11:00
# ------------------------------------------------------------------------
2022-12-08 12:21:42 +01:00
from mcluseau/golang-builder:1.19.4 as build
2019-04-02 13:40:08 +11:00
# ------------------------------------------------------------------------
2022-12-08 12:21:42 +01:00
from alpine:3.17
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/