FROM sbtscala/scala-sbt:eclipse-temurin-jammy-21_35_1.9.7_3.3.1 as assembly WORKDIR /usr/local/src COPY build.sbt ./ COPY src ./src COPY project ./project RUN --mount=type=cache,target=/root/.ivy2 sbt assembly FROM eclipse-temurin:21-jre-alpine COPY --from=assembly /usr/local/src/target/scala-*/sparql-test-runner /usr/local/bin/