1
0
Fork 0
mirror of https://github.com/imjasonh/deno-image synced 2026-07-07 00:33:45 +00:00
No description
Find a file
2021-09-16 13:00:39 -04:00
.gitignore remove vendor and .gitignore 2021-08-27 12:29:10 -04:00
build.sh add lock/vendor stuff, make image and base configurable 2021-08-24 11:55:21 -04:00
example.js demonstrate dependencies 2021-08-24 09:59:16 -04:00
LICENSE initial commit 2021-08-24 09:37:21 -04:00
lock.json add lock/vendor stuff, make image and base configurable 2021-08-24 11:55:21 -04:00
README.md improve README 2021-09-16 13:00:25 -04:00
run.sh improve README 2021-09-16 13:00:25 -04:00

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

  • deno
  • crane
  • Docker auth configured