fix: force SNAPSHOT update in Docker build (-U flag)
Same issue as the CI build — Docker layer cache can serve a stale cameleer3-common SNAPSHOT. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -12,7 +12,7 @@ COPY cameleer3-server-app/pom.xml cameleer3-server-app/
|
||||
# Cache deps — only re-downloaded when POMs change
|
||||
RUN mvn dependency:go-offline -B || true
|
||||
COPY . .
|
||||
RUN mvn clean package -DskipTests -B
|
||||
RUN mvn clean package -DskipTests -U -B
|
||||
|
||||
FROM eclipse-temurin:17-jre
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user