'update files with ansible'
This commit is contained in:
parent
d9695cb6f7
commit
2f806a4f10
12
Dockerfile
12
Dockerfile
@ -1,5 +1,5 @@
|
||||
# Base on latest (edge) alpine image
|
||||
FROM harbor.ervine.dev/public/x86_64/alpine:v3.16.2
|
||||
# Base on latest UBI image
|
||||
FROM harbor.ervine.dev/public/x86_64/ubi9:9.2-722
|
||||
|
||||
LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
||||
|
||||
@ -10,10 +10,10 @@ ENV LANG='en_US.UTF-8' \
|
||||
VERSION='3' \
|
||||
MONO_TLS_PROVIDER=legacy
|
||||
|
||||
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 zip curl libgdiplus && \
|
||||
RUN dnf update -y && \
|
||||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||
dnf install -y epel-release epel-next-release
|
||||
dnf install -y libmediainfo ca-certificates mono-core zip curl libgdiplus && \
|
||||
apk del make gcc g++ && \
|
||||
cert-sync /etc/ssl/certs/ca-certificates.crt && \
|
||||
rm -rf /tmp/src && \
|
||||
|
||||
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -26,13 +26,13 @@ spec:
|
||||
|
||||
node(POD_LABEL) {
|
||||
stage('Build with Kaniko') {
|
||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr.git', credentialsId: 'jenkins2git'
|
||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr', credentialsId: 'jenkins2git'
|
||||
container('kaniko') {
|
||||
sh '/kaniko/executor --force -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/alpine/sonarr:v3.0.9.1549'
|
||||
sh '/kaniko/executor --force -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/ubi/sonarr:v3.0.9.1549'
|
||||
}
|
||||
}
|
||||
stage('Notify gchat') {
|
||||
hangoutsNotify message: "Sonarr 3.0.9.1549 on Alpine has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
|
||||
hangoutsNotify message: "Sonarr 3.0.9.1549 on Alpine has built",token: "https://chat.googleapis.com/v1/spaces/AAAA-nNKzdA/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=FySO2Zy2wfNJ7QKoqT9zy0uzNJF8bwj74ansor3BTu0%3D",threadByJob: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user