use kaniko to build container
This commit is contained in:
parent
c9db2ac370
commit
04bc0ba371
7 changed files with 19 additions and 34 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,8 +1,8 @@
|
|||
FROM alpine:3.14 AS builder
|
||||
FROM alpine:3.15 AS builder
|
||||
|
||||
ENV VERSION=11.0.0-SNAPSHOT.20211214174334
|
||||
ENV VERSION=11.0.0-SNAPSHOT.20220213174344
|
||||
RUN apk add --no-cache \
|
||||
openjdk11-jdk \
|
||||
openjdk17-jdk \
|
||||
maven \
|
||||
git
|
||||
|
||||
|
@ -24,10 +24,8 @@ RUN apk add --no-cache \
|
|||
ffmpeg \
|
||||
flac \
|
||||
opus \
|
||||
lame
|
||||
|
||||
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||
openjdk17-jre-headless
|
||||
lame \
|
||||
openjdk17-jre-headless
|
||||
|
||||
RUN addgroup -g 2222 airsonic
|
||||
RUN adduser -h "$AIRSONIC_DIR" -S -D -u 2222 -G airsonic airsonic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue