Skip to content

s2i demo to show how to run scala applications per S2I

Notifications You must be signed in to change notification settings

marcoklaassen/scala-openjdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Scala S2I Builder Image

This is a s2i demo to show how to run scala applications per source to image in a docker container.

  • You need S2I to execute s2i builds: $ brew install source-to-image
  • You can build the scala-openjdk docker-image with $ make -C s2i-scala build.
  • With $ s2i build scala-sample scala-openjdk scala-sample you can start a s2i build with the builder image created before (scala-openjdk).
  • Run docker image with deployed scala app with $ docker run -p 8080:8080 scala-sample