Compare commits

..

No commits in common. "main" and "11.0.0-SNAPSHOT.20230217142243" have entirely different histories.

2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FROM docker.io/alpine:3.20 AS builder
FROM docker.io/alpine:3.19 AS builder
ENV VERSION=11.0.0-SNAPSHOT.20240424015024
ENV VERSION=11.0.0-SNAPSHOT.20230217142243
RUN apk add --no-cache \
openjdk21-jdk \
maven \
@ -9,11 +9,13 @@ RUN apk add --no-cache \
RUN git clone https://github.com/airsonic-advanced/airsonic-advanced
WORKDIR /airsonic-advanced
COPY mvn.patch .
RUN git checkout "$VERSION"
RUN git apply mvn.patch
RUN mvn package -DskipTests
FROM docker.io/thallian/confd-env:3.20-3.1.6.2
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
ENV AIRSONIC_DIR=/home/airsonic

8
mvn.patch Normal file
View File

@ -0,0 +1,8 @@
diff --git a/.mvn/maven.config b/.mvn/maven.config
index 7bd692d7..89f6445d 100644
--- a/.mvn/maven.config
+++ b/.mvn/maven.config
@@ -1 +1,2 @@
---settings ./.mvn/settings.xml
+--settings
+./.mvn/settings.xml