1
0
Fork 0
mirror of https://github.com/imjasonh/deno-image synced 2026-07-08 17:16:57 +00:00
No description
Find a file
2021-08-24 09:52:12 -04:00
.gitignore initial commit 2021-08-24 09:37:21 -04:00
build.sh use distroless 2021-08-24 09:52:12 -04:00
example.js initial commit 2021-08-24 09:37:21 -04:00
LICENSE initial commit 2021-08-24 09:37:21 -04:00
README.md use distroless 2021-08-24 09:52:12 -04:00
run.sh initial commit 2021-08-24 09:37:21 -04:00

Building container images for Deno, without Docker

./build.sh builds example.js using deno compile, then appends it on top of a distroless base image, and makes the example executable the image's entrypoint. It does this without a Dockerfile, without invoking docker build, and without requiring a container runtime.

./run.sh runs ./build.sh then runs the resulting image using docker run. Only this step requires a container runtime.