Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scala to language template #14

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix oversight when running scala dockerfile
cheerio-pixel committed Mar 28, 2025
commit 957aece015f60f1dd2b06fe7660fc893b841b961
8 changes: 7 additions & 1 deletion languages/scala/dockerfiles/scala-3.3.5.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# syntax=docker/dockerfile:1.7-labs
FROM maven:3.9.9-eclipse-temurin-17-alpine
FROM maven:3.9.9-eclipse-temurin-23-alpine

RUN apk add --no-cache bash wget tar && \
wget -O sbt.tgz https://github.com/sbt/sbt/releases/download/v1.10.11/sbt-1.10.11.tgz && \
tar -xzf sbt.tgz -C /usr/local && \
ln -s /usr/local/sbt/bin/sbt /usr/local/bin/sbt && \
rm sbt.tgz

# Ensures the container is re-built if dependency files change
ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="build.sbt"