Skip to content

harrylaou/scala-sbt-zulu-openjdk-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala-sbt-zulu-openjdk-alpine

Scala sbt and zulu-openjdk-alpine

Docker Stars Docker Pulls Build Status

scala-sbt-zulu-openjdk-alpine

A minimal sbt alpine docker image based on and azul/zulu-openjdk-alpine:17

current environment parameters (can be configured)

SCALA_VERSION=2.13.16
SBT_VERSION=1.11.4

Build

docker build --platform linux/amd64 --tag=harrylaou/scala-sbt-zulu-openjdk-alpine:xxx .

--platform linux/amd64 is necessary to build the correct version to be run for gitlab ci

docker push harrylaou/scala-sbt-zulu-openjdk-alpine:xxx

Automated Builds

This image is automatically built daily to ensure it stays updated with the latest base image security patches and updates. The automated build system:

  • Daily Builds: Runs every day at 2 AM UTC
  • Smart Detection: Only rebuilds when the base image azul/zulu-openjdk-alpine:17 has been updated
  • Multi-Platform: Builds for both linux/amd64 and linux/arm64 platforms
  • Version Tagging: Creates multiple tags for each build:
    • latest - Most recent build
    • YYYY-MM-DD - Date-based tag for the build
    • SCALA_VERSION-SBT_VERSION - Version-specific tag
    • SCALA_VERSION-SBT_VERSION-YYYY-MM-DD - Combined version and date tag

Manual Build Trigger

You can manually trigger a build through the GitHub Actions interface or check if a rebuild is needed:

# Check if base image has been updated (requires Docker and jq)
./.github/workflows/check-base-update.sh

Build Status

Current build status and history can be viewed in the GitHub Actions tab.

About

Scala sbt and zulu-openjdk-alpine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published