Skip to content

imjasonh/deno-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published