'update files with ansible'

This commit is contained in:
jonny 2021-06-24 15:26:32 +00:00
parent 018797e44b
commit 6cf9644c40
2 changed files with 9 additions and 9 deletions

View File

@ -7,25 +7,25 @@ LABEL maintainer="Jonathan Ervine docker@ervine.org"
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm' \
VERSION='develop'
VERSION='3'
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk -U update && \
apk -U upgrade --ignore alpine-baselayout && \
apk -U add libmediainfo ca-certificates mono && \
apk -U add libmediainfo ca-certificates mono zip && \
apk del make gcc g++ && \
rm -rf /tmp/src && \
rm -rf /var/cache/apk/*
RUN wget https://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz -O nzbdrone.tar.gz && \
tar zxvf nzbdrone.tar.gz && \
rm -rf nzbdrone.tar.gz && \
RUN curl -o sonarr.zip https://services.sonarr.tv/v1/download/main/latest?version=3&os=linux && \
unzip sonarr.zip && \
rm -rf sonarr.zip && \
addgroup -g 1027 sonarr && \
adduser -D -u 1027 -G sonarr -H sonarr && \
chown -R sonarr:sonarr /NzbDrone
chown -R sonarr:sonarr /Sonarr
EXPOSE 8989
USER sonarr
CMD [ "/usr/bin/mono", "--debug", "/NzbDrone/NzbDrone.exe", "--nobrowser", "--data=/config" ]
CMD [ "/usr/bin/mono", "--debug", "/Sonarr/Sonarr.exe", "--nobrowser", "--data=/config" ]

4
Jenkinsfile vendored
View File

@ -28,11 +28,11 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/sonarr:v2.0.0.5344-3.13.5'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/sonarr:v3.0.6.1265-3.13.5'
}
}
stage('Notify gchat') {
hangoutsNotify message: "NZBget 2.0.0.5344 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
hangoutsNotify message: "NZBget 3.0.6.1265 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}