Skip to content

Commit 4841377

Browse files
committed
NOARM
1 parent 7f82972 commit 4841377

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ COPY --chown=vscode:vscode . ./
3535

3636
# Pre-populate Gradle dependency and build caches by compiling all classes
3737
# Use --no-daemon to avoid leaving daemon processes running
38-
# Set JAVA_HOME dynamically based on the actual installation
39-
RUN export JAVA_HOME=$(find /usr/lib/jvm -name "msopenjdk-17-*" -type d | head -1) && \
38+
RUN export JAVA_HOME=/usr/lib/jvm/msopenjdk-17-amd64 && \
4039
export PATH="$JAVA_HOME/bin:$PATH" && \
4140
./gradlew classes --no-daemon
4241

.github/workflows/build-devcontainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
push: true
5151
tags: ${{ steps.meta.outputs.tags }}
5252
labels: ${{ steps.meta.outputs.labels }}
53-
platforms: linux/amd64,linux/arm64
53+
platforms: linux/amd64
5454
cache-from: ${{ github.event.inputs.force_rebuild != 'true' && 'type=gha' || '' }}
5555
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)