Skip to content

Commit abb9e7d

Browse files
cdhermannclaude
andcommitted
Fix benchmark-orchestrator image build on linux/arm64
JBang's curl installer tries to download JDK 17 itself and fails on ARM64. Install SDKMAN first, then use it to install both Java and JBang — SDKMAN resolves the correct ARM64 binary for both. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6709abd commit abb9e7d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

scripts/perf-lab/benchmark-orchestrator.Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,9 @@ RUN . ~/.nvm/nvm.sh && \
3232
nvm install --lts && \
3333
nvm use --lts
3434

35-
# Install jbang
36-
RUN curl -Ls https://sh.jbang.dev | bash -s - app setup
37-
38-
# Install sdkman
39-
RUN curl -s "https://get.sdkman.io" | bash && \
40-
source "$HOME/.sdkman/bin/sdkman-init.sh"
35+
# Install sdkman, Java, and JBang (SDKMAN handles ARM64 correctly)
36+
RUN curl -s "https://get.sdkman.io" | bash
37+
RUN bash -c "source ~/.sdkman/bin/sdkman-init.sh && sdk install java 21.0.5-tem && sdk install jbang"
4138

4239
# Configure homebrew
4340
# ENV HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew \

0 commit comments

Comments
 (0)