gradle not maven

This commit is contained in:
Shautvast 2026-03-30 16:35:15 +02:00
parent 1dccbf14e2
commit ca3b416d19

View file

@ -1,12 +1,12 @@
FROM docker.io/eclipse-temurin:21-jdk AS builder FROM docker.io/eclipse-temurin:21-jdk AS builder
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
git ca-certificates maven \ git ca-certificates \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN git clone --depth=1 https://github.com/komoot/photon.git /photon \ RUN git clone --depth=1 https://github.com/komoot/photon.git /photon \
&& cd /photon \ && cd /photon \
&& mvn -q package -DskipTests && ./gradlew -q assemble
FROM docker.io/eclipse-temurin:21-jre FROM docker.io/eclipse-temurin:21-jre