diff --git a/Dockerfile b/Dockerfile index 4509536..ac8919f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ -FROM alpine:3.13 AS builder +FROM alpine:3.14 AS builder -ENV VERSION=11.0.0-SNAPSHOT.20210504201650 -ENV SHA256_SUM=25e030eedcd556a48da4dc83e56bb7ee5e621744f974a2e3f0fa8201c04502dd +ENV VERSION=11.0.0-SNAPSHOT.20211214174334 RUN apk add --no-cache \ openjdk11-jdk \ maven \ @@ -20,7 +19,6 @@ ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 ENV AIRSONIC_DIR=/home/airsonic RUN apk add --no-cache \ - openjdk11-jre-headless \ ca-certificates \ openssl \ ffmpeg \ @@ -28,6 +26,9 @@ RUN apk add --no-cache \ opus \ lame +RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \ + openjdk17-jre-headless + RUN addgroup -g 2222 airsonic RUN adduser -h "$AIRSONIC_DIR" -S -D -u 2222 -G airsonic airsonic