'update files with ansible'
This commit is contained in:
parent
11ba7d0d00
commit
86fec79c4e
24
Dockerfile
24
Dockerfile
@ -1,5 +1,5 @@
|
|||||||
# Base on latest (edge) alpine image
|
# Base on latest UBI image
|
||||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.15.4
|
FROM harbor.ervine.dev/public/x86_64/ubi9:9.2-722
|
||||||
|
|
||||||
LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
||||||
|
|
||||||
@ -8,16 +8,16 @@ ENV LANG='en_US.UTF-8' \
|
|||||||
LANGUAGE='en_US.UTF-8' \
|
LANGUAGE='en_US.UTF-8' \
|
||||||
TERM='xterm'
|
TERM='xterm'
|
||||||
|
|
||||||
RUN echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
|
RUN dnf update -y && \
|
||||||
apk -U update && \
|
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
apk -U upgrade --ignore alpine-baselayout && \
|
dnf install -y epel-release epel-next-release && \
|
||||||
apk -U add icu libintl libmediainfo ca-certificates mono curl && \
|
dnf install -y libmediainfo ca-certificates mono-core zip curl libgdiplus --allowerasing && \
|
||||||
apk del make gcc g++ && \
|
update-ca-trust && \
|
||||||
rm -rf /tmp/src && \
|
dnf clean all && \
|
||||||
rm -rf /var/cache/apk/* && \
|
|
||||||
curl -SL https://github.com/Radarr/Radarr/releases/download/v4.3.2.6857/Radarr.master.4.3.2.6857.linux-musl-core-x64.tar.gz | tar zxv && \
|
curl -SL https://github.com/Radarr/Radarr/releases/download/v5.0.3.8127/Radarr.master.5.0.3.8127.linux-core-x64.tar.gz | tar zxv && \
|
||||||
addgroup -g 1027 radarr && \
|
groupadd -g 1027 radarr && \
|
||||||
adduser -D -u 1027 -G radarr -H radarr && \
|
useradd -u 1027 -g radarr -M radarr && \
|
||||||
chown -R radarr:radarr /Radarr
|
chown -R radarr:radarr /Radarr
|
||||||
|
|
||||||
EXPOSE 7878
|
EXPOSE 7878
|
||||||
|
|||||||
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -25,13 +25,13 @@ spec:
|
|||||||
|
|
||||||
node(POD_LABEL) {
|
node(POD_LABEL) {
|
||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-radarr.git', credentialsId: 'jenkins-to-git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-radarr', credentialsId: 'jenkins-to-git'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/radarr:v4.3.2.6857 --destination=harbor.ervine.dev/public/x86_64/alpine/radarr:v3.0'
|
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/ubi/radarr:v5.0.3.8127 --destination=harbor.ervine.dev/public/x86_64/ubi/radarr:v5.0.3.8127'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Notify gchat') {
|
stage('Notify gchat') {
|
||||||
hangoutsNotify message: "Radarr Movie Manager 4.3.2.6857 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
googlechatnotification (url: 'https://chat.googleapis.com/v1/spaces/AAAA-nNKzdA/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=FySO2Zy2wfNJ7QKoqT9zy0uzNJF8bwj74ansor3BTu0%3D', message: "Radarr 5.0.3.8127 on RHEL UBI has built")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user