'update files with ansible'
This commit is contained in:
parent
6c8bf0ba85
commit
92bcd1d7c2
31
Containerfile
Normal file
31
Containerfile
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Base on latest UBI image
|
||||||
|
FROM harbor.ervine.dev/public/x86_64/ubi:9.3-1552
|
||||||
|
|
||||||
|
LABEL maintainer="Jonathan Ervine docker@ervine.org"
|
||||||
|
|
||||||
|
# Install updates
|
||||||
|
ENV LANG='en_US.UTF-8' \
|
||||||
|
LANGUAGE='en_US.UTF-8' \
|
||||||
|
TERM='xterm' \
|
||||||
|
VERSION='3'
|
||||||
|
|
||||||
|
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 libicu libmediainfo ca-certificates mono-core zip curl libgdiplus --allowerasing && \
|
||||||
|
update-ca-trust && \
|
||||||
|
dnf clean all
|
||||||
|
|
||||||
|
RUN curl -sLo sonarr.tar.gz https://github.com/Sonarr/Sonarr/releases/download/v4.0.1.929/Sonarr.main.4.0.1.929.linux-x64.tar.gz && \
|
||||||
|
sleep 30 && \
|
||||||
|
tar zxvf sonarr.tar.gz && \
|
||||||
|
rm -rf sonarr.tar.gz && \
|
||||||
|
groupadd -g 1027 sonarr && \
|
||||||
|
useradd -u 1027 -g sonarr -M sonarr && \
|
||||||
|
chown -R sonarr:sonarr /Sonarr
|
||||||
|
|
||||||
|
EXPOSE 8989
|
||||||
|
|
||||||
|
USER sonarr
|
||||||
|
|
||||||
|
CMD [ "/Sonarr/Sonarr", "--nobrowser", "--data=/config" ]
|
||||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -28,7 +28,7 @@ spec:
|
|||||||
stage('Build with Kaniko') {
|
stage('Build with Kaniko') {
|
||||||
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr', credentialsId: 'jenkins2git'
|
git url: 'ssh://git@git.ervine.org/jonny/x86_64-alpine-sonarr', credentialsId: 'jenkins2git'
|
||||||
container('kaniko') {
|
container('kaniko') {
|
||||||
sh '/kaniko/executor --force -f `pwd`/Dockerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/ubi/sonarr:v4.0.1.929'
|
sh '/kaniko/executor --force -f `pwd`/Containerfile -c `pwd` --cache=false --destination=harbor.ervine.dev/public/x86_64/ubi/sonarr:v4.0.1.929'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Notify gchat') {
|
stage('Notify gchat') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user