push to 11.0.0-SNAPSHOT.20230217142243

This commit is contained in:
Sebastian Hugentobler 2023-09-26 16:15:56 +02:00
parent 61ed1617d8
commit a977e369b8
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 17 additions and 7 deletions

View File

@ -1,19 +1,21 @@
FROM docker.io/alpine:3.17 AS builder FROM docker.io/alpine:3.18 AS builder
ENV VERSION=11.0.0-SNAPSHOT.20230217142243 ENV VERSION=11.0.0-SNAPSHOT.20230217142243
RUN apk add --no-cache \ RUN apk add --no-cache \
openjdk17-jdk \ openjdk17-jdk \
maven \ maven \
git git
RUN git clone https://github.com/airsonic-advanced/airsonic-advanced RUN git clone https://github.com/airsonic-advanced/airsonic-advanced
WORKDIR /airsonic-advanced WORKDIR /airsonic-advanced
COPY mvn.patch .
RUN git checkout "$VERSION" RUN git checkout "$VERSION"
RUN git apply mvn.patch
RUN mvn package -DskipTests RUN mvn package -DskipTests
FROM docker.io/thallian/confd-env:3.17-3.1.3.0 FROM docker.io/thallian/confd-env:3.18-3.1.5.0
ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
ENV AIRSONIC_DIR=/home/airsonic ENV AIRSONIC_DIR=/home/airsonic
@ -25,7 +27,7 @@ RUN apk add --no-cache \
flac \ flac \
opus \ opus \
lame \ lame \
openjdk17-jre-headless openjdk17-jre-headless
RUN addgroup -g 2222 airsonic RUN addgroup -g 2222 airsonic
RUN adduser -h "$AIRSONIC_DIR" -S -D -u 2222 -G airsonic airsonic RUN adduser -h "$AIRSONIC_DIR" -S -D -u 2222 -G airsonic 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