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

fix: graalvm scala3 builds #312

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 0 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,6 @@ jobs:
dockerContext: 'amazoncorretto'
baseImageTag: '17.0.13-al2023'
platforms: 'linux/amd64'
exclude:
# https://github.com/VirtusLab/scala-cli/issues/3130
- scalaVersion: '3.5.2'
javaTag: 'graalvm-community-22.0.1'
- scalaVersion: '3.5.2'
javaTag: 'graalvm-community-21.0.2'
- scalaVersion: '3.5.2'
javaTag: 'graalvm-ce-22.3.3-b1-java17'
# https://github.com/VirtusLab/scala-cli/issues/2758
# - scalaVersion: '3.5.0'
# javaTag: 'eclipse-temurin-alpine-22_36'
# - scalaVersion: '3.5.0'
# javaTag: 'eclipse-temurin-alpine-21.0.2_13'
# - scalaVersion: '3.5.0'
# javaTag: 'eclipse-temurin-alpine-17.0.10_7'
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
Expand Down
8 changes: 8 additions & 0 deletions graalvm-ce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ ENV USER_ID=${USER_ID:-1001}
ARG GROUP_ID
ENV GROUP_ID=${GROUP_ID:-1001}

# Install dependencies
# ps for scala3 https://github.com/VirtusLab/scala-cli/issues/3130
# git and rpm for sbt-native-packager (see https://github.com/sbt/docker-sbt/pull/114)
RUN \
microdnf -y install procps git rpm && \
rm -rf /var/cache/dnf/* && \
microdnf clean all

# Install sbt
RUN \
curl -fsL --show-error "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | tar xfz - -C /usr/share && \
Expand Down
8 changes: 8 additions & 0 deletions graalvm-community/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ ENV USER_ID=${USER_ID:-1001}
ARG GROUP_ID
ENV GROUP_ID=${GROUP_ID:-1001}

# Install dependencies
# ps for scala3 https://github.com/VirtusLab/scala-cli/issues/3130
# git and rpm for sbt-native-packager (see https://github.com/sbt/docker-sbt/pull/114)
RUN \
microdnf -y install procps git rpm && \
rm -rf /var/cache/dnf/* && \
microdnf clean all

# Install sbt
RUN \
curl -fsL --show-error "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | tar xfz - -C /usr/share && \
Expand Down