Skip to content

segudev/docker-babashka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Babashka Docker Image

This is a simple Docker image based on Alpine to bootstrap Babashka, a super fast interpreter for Clojure.

Here the script is a simple http server allowing to browse the container's filesystem from localhost:8090.

It is copied from this snippet (kudos to holyjack). I had to remove the auto-opening since it required to install xdg-utils.

To use, simply run

docker build . -t bb &&
docker run --rm -p 8090:8090 bb

This is the start of an expriment to use babashka as a way to run serverless functions on Heroku and avoid looong JVM startup times.

Nota : the script is actually present both as Clojure .clj file, and as a specific .bb file, but this is only for testing purpose.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published