inits/Dockerfile
2023-11-07 12:23:35 +01:00

13 lines
408 B
Docker

# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.21.3 as build
# ------------------------------------------------------------------------
from alpine:3.18.4
entrypoint mksquashfs /layer /layer.squashfs -noappend -comp xz >&2 && base64 </layer.squashfs
run apk add --update squashfs-tools
add layer/ /layer/
copy --from=build /go/bin/ /layer/sbin/