inital impl
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
c0c76101b1
commit
94b90b3377
|
@ -0,0 +1,7 @@
|
||||||
|
pipeline:
|
||||||
|
docker:
|
||||||
|
image: plugins/docker
|
||||||
|
repo: docker.jcg.re/airsonic
|
||||||
|
registry: docker.jcg.re
|
||||||
|
secrets: [ docker_username, docker_password ]
|
||||||
|
tags: latest
|
|
@ -0,0 +1,18 @@
|
||||||
|
FROM docker.jcg.re/base-alpine
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
openjdk8 \
|
||||||
|
ffmpeg \
|
||||||
|
&& apk add --no-cache -t install-deps \
|
||||||
|
curl \
|
||||||
|
&& mkdir -p /opt/airsonic \
|
||||||
|
&& cd /opt/airsonic \
|
||||||
|
&& curl -O -L https://github.com/airsonic/airsonic/releases/download/${VERSION}/airsonic.war \
|
||||||
|
&& chmod a+x airsonic.war \
|
||||||
|
&& apk del install-deps
|
||||||
|
|
||||||
|
COPY root /
|
||||||
|
EXPOSE 8080
|
||||||
|
VOLUME /var/airsonic
|
|
@ -1,3 +1,2 @@
|
||||||
# docker-airsonic
|
## docker.jcg.re/airsonic
|
||||||
|
[![Build Status](https://drone.jcg.re/api/badges/jcgruenhage/docker-airsonic/status.svg)](https://drone.jcg.re/jcgruenhage/docker-airsonic)
|
||||||
Dockerfile for Airsonic
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec /bin/true
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
chown -R ${UID}:${GID} /var/airsonic
|
||||||
|
exec su-exec ${UID}:${GID} java -jar /opt/airsonic/airsonic.war
|
Loading…
Reference in New Issue