Skip to content

Commit

Permalink
fix: graalvm scala3 builds (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb authored Nov 14, 2024
1 parent 985c682 commit 98aac05
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
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

0 comments on commit 98aac05

Please sign in to comment.