1
0
Fork 0
mirror of https://github.com/imjasonh/deno-image synced 2026-07-17 06:11:40 +00:00
deno-image/build.sh
2021-08-24 09:52:12 -04:00

10 lines
244 B
Bash
Executable file

#!/usr/bin/env bash
deno compile --allow-net \
--target x86_64-unknown-linux-gnu \
example.js 1>&2
crane mutate $(
crane append -f <(tar -f - -c example) -t gcr.io/imjasonh/deno -b gcr.io/distroless/cc-debian10
) --entrypoint=/example