Skip to content
Merged
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
7 changes: 5 additions & 2 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
# ===========================================================================================================
# 0. Builder stage 1
# ===========================================================================================================
FROM azul/zulu-openjdk-debian:17 AS builder
# The Gradle build produces an architecture-neutral JAR, so keep it on the
# native build platform instead of running it through QEMU for ARM64 images.
FROM --platform=$BUILDPLATFORM azul/zulu-openjdk-debian:17 AS builder

ARG INDEXING_BACKEND=elasticsearch

Expand All @@ -26,7 +28,8 @@ RUN ls -ltr
# ===========================================================================================================
# 1. Builder stage 2
# ===========================================================================================================
FROM alpine:3.20 AS ui-builder
# The UI build also produces architecture-neutral static assets.
FROM --platform=$BUILDPLATFORM alpine:3.20 AS ui-builder
ARG YARN_OPTS

LABEL maintainer="Orkes OSS <oss@orkes.io>"
Expand Down
Loading