~/talk

Packaging & Deployment Options for Scala Applications / Services

slides:none on file

Compares four concrete packaging paths for Scala apps: Buildpacks, Jib, sbt-native-packager (Docker), GraalVM native-image. Demonstrates Buildpacks producing a 691 MB image, Jib and sbt Docker producing ~138 MB images with layered dependency and class/jar separation for cache-friendly rebuilds, and GraalVM producing a 12 MB statically linked executable image. Shows pushing images to Container Registry and deploying to Cloud Run, explains GraalVM tradeoffs (downgrade to Scala 2.13, musl/static linking, reflection and method-handle workarounds, prefer CI/CD for native builds).

AI-written summary · about

  1. 0:00Introduction to Scala Docker
  2. 1:24Packaging with sbt Native Packager
  3. 2:49Build Packs Method
  4. 6:19Jib Containerization
  5. 9:50Traditional Docker with sbt
  6. 16:50GraalVM Native Image
  7. 25:40Comparison and Recommendations
  8. 27:05Q&A and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.