docker: include packaging command as entrypoint

This commit is contained in:
Mikaël Cluseau 2020-10-02 06:14:12 +02:00
parent 2207d1a758
commit 05c350f23d

View File

@ -3,6 +3,9 @@ from mcluseau/golang-builder:1.15.1 as build
# ------------------------------------------------------------------------ # ------------------------------------------------------------------------
from alpine:3.12 from alpine:3.12
entrypoint mksquashfs /layer /layer.squashfs && base64 </layer.squashfs
run apk add --update squashfs-tools run apk add --update squashfs-tools
add layer/ /layer/ add layer/ /layer/