mirror of
https://github.com/imjasonh/deno-image
synced 2026-07-07 00:33:45 +00:00
No description
| .gitignore | ||
| build.sh | ||
| example.js | ||
| LICENSE | ||
| lock.json | ||
| README.md | ||
| run.sh | ||
Building container images for Deno, without Docker
build.sh builds example.js using deno compile, then appends it on top of a default distroless base image, and makes the example executable the image's entrypoint, using crane.
It does all 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.
build.sh and run.sh takes two optional positional args: build.sh [image-to-build] [base-image]
Requirements
denocrane- Docker auth configured