cd then maven

This commit is contained in:
Shautvast 2026-03-30 16:33:19 +02:00
parent 577143b68e
commit 1dccbf14e2

View file

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