mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2026-04-11 21:28:07 +09:00
Compare commits
30 Commits
2.2.2-ls62
...
2.2.2-ls82
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e3b3ab9d0 | ||
|
|
f27f1a0f32 | ||
|
|
f1f25f60d1 | ||
|
|
810e937beb | ||
|
|
39d4baafab | ||
|
|
87a0fae6b8 | ||
|
|
aa636d17d7 | ||
|
|
3c67dd6419 | ||
|
|
65e7ad2636 | ||
|
|
35d67db857 | ||
|
|
234c90aae0 | ||
|
|
16b07a2622 | ||
|
|
259c34085b | ||
|
|
583ddfa1da | ||
|
|
03cea49daa | ||
|
|
684e3fa2bd | ||
|
|
2d88de2217 | ||
|
|
ef0a2ef1b4 | ||
|
|
146710ba22 | ||
|
|
2ffaa68c97 | ||
|
|
79c12d25c6 | ||
|
|
cbf8afe840 | ||
|
|
4509bda804 | ||
|
|
bdd6c709d8 | ||
|
|
c9bcd0519c | ||
|
|
f5f09c95eb | ||
|
|
f0d5c590ea | ||
|
|
0c2f2a481e | ||
|
|
90badb2245 | ||
|
|
94e161129c |
@@ -1,4 +1,4 @@
|
|||||||
FROM lsiobase/nginx:3.10
|
FROM lsiobase/nginx:3.11
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@@ -14,8 +14,8 @@ RUN \
|
|||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache --upgrade \
|
apk add --no-cache --upgrade \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
|
||||||
php7-ctype \
|
php7-ctype \
|
||||||
|
php7-pdo_pgsql \
|
||||||
php7-pdo_sqlite \
|
php7-pdo_sqlite \
|
||||||
php7-tokenizer \
|
php7-tokenizer \
|
||||||
php7-zip \
|
php7-zip \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM lsiobase/nginx:arm64v8-3.10
|
FROM lsiobase/nginx:arm64v8-3.11
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@@ -14,8 +14,8 @@ RUN \
|
|||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache --upgrade \
|
apk add --no-cache --upgrade \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
|
||||||
php7-ctype \
|
php7-ctype \
|
||||||
|
php7-pdo_pgsql \
|
||||||
php7-pdo_sqlite \
|
php7-pdo_sqlite \
|
||||||
php7-tokenizer \
|
php7-tokenizer \
|
||||||
php7-zip \
|
php7-zip \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM lsiobase/nginx:arm32v7-3.10
|
FROM lsiobase/nginx:arm32v7-3.11
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
@@ -14,8 +14,8 @@ RUN \
|
|||||||
echo "**** install runtime packages ****" && \
|
echo "**** install runtime packages ****" && \
|
||||||
apk add --no-cache --upgrade \
|
apk add --no-cache --upgrade \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
|
||||||
php7-ctype \
|
php7-ctype \
|
||||||
|
php7-pdo_pgsql \
|
||||||
php7-pdo_sqlite \
|
php7-pdo_sqlite \
|
||||||
php7-tokenizer \
|
php7-tokenizer \
|
||||||
php7-zip \
|
php7-zip \
|
||||||
|
|||||||
166
Jenkinsfile
vendored
166
Jenkinsfile
vendored
@@ -14,6 +14,8 @@ pipeline {
|
|||||||
environment {
|
environment {
|
||||||
BUILDS_DISCORD=credentials('build_webhook_url')
|
BUILDS_DISCORD=credentials('build_webhook_url')
|
||||||
GITHUB_TOKEN=credentials('498b4638-2d02-4ce5-832d-8a57d01d97ab')
|
GITHUB_TOKEN=credentials('498b4638-2d02-4ce5-832d-8a57d01d97ab')
|
||||||
|
GITLAB_TOKEN=credentials('b6f0f1dd-6952-4cf6-95d1-9c06380283f0')
|
||||||
|
GITLAB_NAMESPACE=credentials('gitlab-namespace-id')
|
||||||
EXT_GIT_BRANCH = 'master'
|
EXT_GIT_BRANCH = 'master'
|
||||||
EXT_USER = 'linuxserver'
|
EXT_USER = 'linuxserver'
|
||||||
EXT_REPO = 'Heimdall'
|
EXT_REPO = 'Heimdall'
|
||||||
@@ -136,6 +138,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script{
|
script{
|
||||||
env.IMAGE = env.DOCKERHUB_IMAGE
|
env.IMAGE = env.DOCKERHUB_IMAGE
|
||||||
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/' + env.CONTAINER_NAME
|
||||||
|
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||||
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-ls' + env.LS_TAG_NUMBER
|
||||||
} else {
|
} else {
|
||||||
@@ -154,6 +159,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script{
|
script{
|
||||||
env.IMAGE = env.DEV_DOCKERHUB_IMAGE
|
env.IMAGE = env.DEV_DOCKERHUB_IMAGE
|
||||||
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/lsiodev-' + env.CONTAINER_NAME
|
||||||
|
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||||
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lsiodev-' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-dev-' + env.COMMIT_SHA
|
||||||
} else {
|
} else {
|
||||||
@@ -172,6 +180,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
script{
|
script{
|
||||||
env.IMAGE = env.PR_DOCKERHUB_IMAGE
|
env.IMAGE = env.PR_DOCKERHUB_IMAGE
|
||||||
|
env.QUAYIMAGE = 'quay.io/linuxserver.io/lspipepr-' + env.CONTAINER_NAME
|
||||||
|
env.GITHUBIMAGE = 'docker.pkg.github.com/' + env.LS_USER + '/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||||
|
env.GITLABIMAGE = 'registry.gitlab.com/linuxserver.io/' + env.LS_REPO + '/lspipepr-' + env.CONTAINER_NAME
|
||||||
if (env.MULTIARCH == 'true') {
|
if (env.MULTIARCH == 'true') {
|
||||||
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
|
env.CI_TAGS = 'amd64-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm32v7-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST + '|arm64v8-' + env.EXT_RELEASE_CLEAN + '-pkg-' + env.PACKAGE_TAG + '-pr-' + env.PULL_REQUEST
|
||||||
} else {
|
} else {
|
||||||
@@ -279,6 +290,26 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* #######################
|
||||||
|
GitLab Mirroring
|
||||||
|
####################### */
|
||||||
|
// Ping into Gitlab to mirror this repo and have a registry endpoint
|
||||||
|
stage("GitLab Mirror"){
|
||||||
|
when {
|
||||||
|
environment name: 'EXIT_STATUS', value: ''
|
||||||
|
}
|
||||||
|
steps{
|
||||||
|
sh '''curl -H "Content-Type: application/json" -H "Private-Token: ${GITLAB_TOKEN}" -X POST https://gitlab.com/api/v4/projects \
|
||||||
|
-d '{"namespace_id":'${GITLAB_NAMESPACE}',\
|
||||||
|
"name":"'${LS_REPO}'",
|
||||||
|
"mirror":true,\
|
||||||
|
"import_url":"https://github.com/linuxserver/'${LS_REPO}'.git",\
|
||||||
|
"issues_access_level":"disabled",\
|
||||||
|
"merge_requests_access_level":"disabled",\
|
||||||
|
"repository_access_level":"enabled",\
|
||||||
|
"visibility":"public"}' '''
|
||||||
|
}
|
||||||
|
}
|
||||||
/* ###############
|
/* ###############
|
||||||
Build Container
|
Build Container
|
||||||
############### */
|
############### */
|
||||||
@@ -510,19 +541,32 @@ pipeline {
|
|||||||
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
||||||
usernameVariable: 'DOCKERUSER',
|
usernameVariable: 'DOCKERUSER',
|
||||||
passwordVariable: 'DOCKERPASS'
|
passwordVariable: 'DOCKERPASS'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
$class: 'UsernamePasswordMultiBinding',
|
||||||
|
credentialsId: 'Quay.io-Robot',
|
||||||
|
usernameVariable: 'QUAYUSER',
|
||||||
|
passwordVariable: 'QUAYPASS'
|
||||||
]
|
]
|
||||||
]) {
|
]) {
|
||||||
echo 'Logging into DockerHub'
|
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
set -e
|
||||||
|
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||||
|
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
||||||
|
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
|
||||||
|
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
|
||||||
|
for PUSHIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||||
|
docker tag ${IMAGE}:${META_TAG} ${PUSHIMAGE}:${META_TAG}
|
||||||
|
docker tag ${PUSHIMAGE}:${META_TAG} ${PUSHIMAGE}:latest
|
||||||
|
docker push ${PUSHIMAGE}:latest
|
||||||
|
docker push ${PUSHIMAGE}:${META_TAG}
|
||||||
|
done
|
||||||
|
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "{GITLABIMAGE}" "${IMAGE}"; do
|
||||||
|
docker rmi \
|
||||||
|
${DELETEIMAGE}:${META_TAG} \
|
||||||
|
${DELETEIMAGE}:latest || :
|
||||||
|
done
|
||||||
'''
|
'''
|
||||||
sh "docker tag ${IMAGE}:${META_TAG} ${IMAGE}:latest"
|
|
||||||
sh "docker push ${IMAGE}:latest"
|
|
||||||
sh "docker push ${IMAGE}:${META_TAG}"
|
|
||||||
sh '''docker rmi \
|
|
||||||
${IMAGE}:${META_TAG} \
|
|
||||||
${IMAGE}:latest || :'''
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -539,46 +583,81 @@ pipeline {
|
|||||||
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
credentialsId: '3f9ba4d5-100d-45b0-a3c4-633fd6061207',
|
||||||
usernameVariable: 'DOCKERUSER',
|
usernameVariable: 'DOCKERUSER',
|
||||||
passwordVariable: 'DOCKERPASS'
|
passwordVariable: 'DOCKERPASS'
|
||||||
|
],
|
||||||
|
[
|
||||||
|
$class: 'UsernamePasswordMultiBinding',
|
||||||
|
credentialsId: 'Quay.io-Robot',
|
||||||
|
usernameVariable: 'QUAYUSER',
|
||||||
|
passwordVariable: 'QUAYPASS'
|
||||||
]
|
]
|
||||||
]) {
|
]) {
|
||||||
sh '''#! /bin/bash
|
sh '''#! /bin/bash
|
||||||
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
set -e
|
||||||
'''
|
echo $QUAYPASS | docker login quay.io -u $QUAYUSER --password-stdin
|
||||||
sh '''#! /bin/bash
|
echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
||||||
|
echo $GITHUB_TOKEN | docker login docker.pkg.github.com -u LinuxServer-CI --password-stdin
|
||||||
|
echo $GITLAB_TOKEN | docker login registry.gitlab.com -u LinuxServer.io --password-stdin
|
||||||
if [ "${CI}" == "false" ]; then
|
if [ "${CI}" == "false" ]; then
|
||||||
docker pull lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker pull lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
docker pull lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
docker pull lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}
|
||||||
docker tag lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
|
docker tag lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm32v7-${META_TAG}
|
||||||
docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
|
docker tag lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} ${IMAGE}:arm64v8-${META_TAG}
|
||||||
fi'''
|
fi
|
||||||
sh "docker tag ${IMAGE}:amd64-${META_TAG} ${IMAGE}:amd64-latest"
|
for MANIFESTIMAGE in "${IMAGE}" "${GITLABIMAGE}"; do
|
||||||
sh "docker tag ${IMAGE}:arm32v7-${META_TAG} ${IMAGE}:arm32v7-latest"
|
docker tag ${IMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG}
|
||||||
sh "docker tag ${IMAGE}:arm64v8-${META_TAG} ${IMAGE}:arm64v8-latest"
|
docker tag ${IMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||||
sh "docker push ${IMAGE}:amd64-${META_TAG}"
|
docker tag ${IMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
sh "docker push ${IMAGE}:arm32v7-${META_TAG}"
|
docker tag ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:amd64-latest
|
||||||
sh "docker push ${IMAGE}:arm64v8-${META_TAG}"
|
docker tag ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm32v7-latest
|
||||||
sh "docker push ${IMAGE}:amd64-latest"
|
docker tag ${MANIFESTIMAGE}:arm64v8-${META_TAG} ${MANIFESTIMAGE}:arm64v8-latest
|
||||||
sh "docker push ${IMAGE}:arm32v7-latest"
|
docker push ${MANIFESTIMAGE}:amd64-${META_TAG}
|
||||||
sh "docker push ${IMAGE}:arm64v8-latest"
|
docker push ${MANIFESTIMAGE}:arm32v7-${META_TAG}
|
||||||
sh "docker manifest push --purge ${IMAGE}:latest || :"
|
docker push ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
sh "docker manifest create ${IMAGE}:latest ${IMAGE}:amd64-latest ${IMAGE}:arm32v7-latest ${IMAGE}:arm64v8-latest"
|
docker push ${MANIFESTIMAGE}:amd64-latest
|
||||||
sh "docker manifest annotate ${IMAGE}:latest ${IMAGE}:arm32v7-latest --os linux --arch arm"
|
docker push ${MANIFESTIMAGE}:arm32v7-latest
|
||||||
sh "docker manifest annotate ${IMAGE}:latest ${IMAGE}:arm64v8-latest --os linux --arch arm64 --variant v8"
|
docker push ${MANIFESTIMAGE}:arm64v8-latest
|
||||||
sh "docker manifest push --purge ${IMAGE}:${META_TAG} || :"
|
docker manifest push --purge ${MANIFESTIMAGE}:latest || :
|
||||||
sh "docker manifest create ${IMAGE}:${META_TAG} ${IMAGE}:amd64-${META_TAG} ${IMAGE}:arm32v7-${META_TAG} ${IMAGE}:arm64v8-${META_TAG}"
|
docker manifest create ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:amd64-latest ${MANIFESTIMAGE}:arm32v7-latest ${MANIFESTIMAGE}:arm64v8-latest
|
||||||
sh "docker manifest annotate ${IMAGE}:${META_TAG} ${IMAGE}:arm32v7-${META_TAG} --os linux --arch arm"
|
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm32v7-latest --os linux --arch arm
|
||||||
sh "docker manifest annotate ${IMAGE}:${META_TAG} ${IMAGE}:arm64v8-${META_TAG} --os linux --arch arm64 --variant v8"
|
docker manifest annotate ${MANIFESTIMAGE}:latest ${MANIFESTIMAGE}:arm64v8-latest --os linux --arch arm64 --variant v8
|
||||||
sh "docker manifest push --purge ${IMAGE}:latest"
|
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG} || :
|
||||||
sh "docker manifest push --purge ${IMAGE}:${META_TAG}"
|
docker manifest create ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:amd64-${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG}
|
||||||
sh '''docker rmi \
|
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm32v7-${META_TAG} --os linux --arch arm
|
||||||
${IMAGE}:amd64-${META_TAG} \
|
docker manifest annotate ${MANIFESTIMAGE}:${META_TAG} ${MANIFESTIMAGE}:arm64v8-${META_TAG} --os linux --arch arm64 --variant v8
|
||||||
${IMAGE}:amd64-latest \
|
docker manifest push --purge ${MANIFESTIMAGE}:latest
|
||||||
${IMAGE}:arm32v7-${META_TAG} \
|
docker manifest push --purge ${MANIFESTIMAGE}:${META_TAG}
|
||||||
${IMAGE}:arm32v7-latest \
|
done
|
||||||
${IMAGE}:arm64v8-${META_TAG} \
|
for LEGACYIMAGE in "${GITHUBIMAGE}" "${QUAYIMAGE}"; do
|
||||||
${IMAGE}:arm64v8-latest \
|
docker tag ${IMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:amd64-${META_TAG}
|
||||||
|
docker tag ${IMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-${META_TAG}
|
||||||
|
docker tag ${IMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-${META_TAG}
|
||||||
|
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:latest
|
||||||
|
docker tag ${LEGACYIMAGE}:amd64-${META_TAG} ${LEGACYIMAGE}:${META_TAG}
|
||||||
|
docker tag ${LEGACYIMAGE}:arm32v7-${META_TAG} ${LEGACYIMAGE}:arm32v7-latest
|
||||||
|
docker tag ${LEGACYIMAGE}:arm64v8-${META_TAG} ${LEGACYIMAGE}:arm64v8-latest
|
||||||
|
docker push ${LEGACYIMAGE}:amd64-${META_TAG}
|
||||||
|
docker push ${LEGACYIMAGE}:arm32v7-${META_TAG}
|
||||||
|
docker push ${LEGACYIMAGE}:arm64v8-${META_TAG}
|
||||||
|
docker push ${LEGACYIMAGE}:latest
|
||||||
|
docker push ${LEGACYIMAGE}:${META_TAG}
|
||||||
|
docker push ${LEGACYIMAGE}:arm32v7-latest
|
||||||
|
docker push ${LEGACYIMAGE}:arm64v8-latest
|
||||||
|
done
|
||||||
|
'''
|
||||||
|
sh '''#! /bin/bash
|
||||||
|
for DELETEIMAGE in "${QUAYIMAGE}" "${GITHUBIMAGE}" "${GITLABIMAGE}" "${IMAGE}"; do
|
||||||
|
docker rmi \
|
||||||
|
${DELETEIMAGE}:amd64-${META_TAG} \
|
||||||
|
${DELETEIMAGE}:amd64-latest \
|
||||||
|
${DELETEIMAGE}:arm32v7-${META_TAG} \
|
||||||
|
${DELETEIMAGE}:arm32v7-latest \
|
||||||
|
${DELETEIMAGE}:arm64v8-${META_TAG} \
|
||||||
|
${DELETEIMAGE}:arm64v8-latest || :
|
||||||
|
done
|
||||||
|
docker rmi \
|
||||||
lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \
|
lsiodev/buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER} \
|
||||||
lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || :'''
|
lsiodev/buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} || :
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -662,16 +741,19 @@ pipeline {
|
|||||||
sh 'echo "build aborted"'
|
sh 'echo "build aborted"'
|
||||||
}
|
}
|
||||||
else if (currentBuild.currentResult == "SUCCESS"){
|
else if (currentBuild.currentResult == "SUCCESS"){
|
||||||
sh ''' curl -X POST --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 1681177,\
|
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 1681177,\
|
||||||
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** Success\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** Success\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
||||||
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sh ''' curl -X POST --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 16711680,\
|
sh ''' curl -X POST -H "Content-Type: application/json" --data '{"avatar_url": "https://wiki.jenkins-ci.org/download/attachments/2916393/headshot.png","embeds": [{"color": 16711680,\
|
||||||
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** failure\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
"description": "**Build:** '${BUILD_NUMBER}'\\n**CI Results:** '${CI_URL}'\\n**ShellCheck Results:** '${SHELLCHECK_URL}'\\n**Status:** failure\\n**Job:** '${RUN_DISPLAY_URL}'\\n**Change:** '${CODE_URL}'\\n**External Release:**: '${RELEASE_LINK}'\\n**DockerHub:** '${DOCKERHUB_LINK}'\\n"}],\
|
||||||
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
"username": "Jenkins"}' ${BUILDS_DISCORD} '''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cleanup {
|
||||||
|
cleanWs()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
41
README.md
41
README.md
@@ -4,10 +4,10 @@
|
|||||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||||
[](https://anchor.fm/linuxserverio "on hiatus. Coming back soon (late 2018).")
|
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||||
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
||||||
|
|
||||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring :-
|
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
|
||||||
|
|
||||||
* regular and timely application updates
|
* regular and timely application updates
|
||||||
* easy user mappings (PGID, PUID)
|
* easy user mappings (PGID, PUID)
|
||||||
@@ -20,15 +20,19 @@ Find us at:
|
|||||||
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
|
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
|
||||||
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
||||||
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
|
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
|
||||||
* [Podcast](https://anchor.fm/linuxserverio) - on hiatus. Coming back soon (late 2018).
|
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
|
||||||
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
|
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
|
||||||
|
|
||||||
# [linuxserver/heimdall](https://github.com/linuxserver/docker-heimdall)
|
# [linuxserver/heimdall](https://github.com/linuxserver/docker-heimdall)
|
||||||
[](https://github.com/linuxserver/docker-heimdall/releases)
|
|
||||||
|
[](https://github.com/linuxserver/docker-heimdall)
|
||||||
|
[](https://github.com/linuxserver/docker-heimdall/releases)
|
||||||
|
[](https://github.com/linuxserver/docker-heimdall/packages)
|
||||||
|
[](https://gitlab.com/Linuxserver.io/docker-heimdall/container_registry)
|
||||||
|
[](https://quay.io/repository/linuxserver.io/heimdall)
|
||||||
[](https://microbadger.com/images/linuxserver/heimdall "Get your own version badge on microbadger.com")
|
[](https://microbadger.com/images/linuxserver/heimdall "Get your own version badge on microbadger.com")
|
||||||
[](https://microbadger.com/images/linuxserver/heimdall "Get your own version badge on microbadger.com")
|
[](https://hub.docker.com/r/linuxserver/heimdall)
|
||||||
[](https://hub.docker.com/r/linuxserver/heimdall)
|
[](https://hub.docker.com/r/linuxserver/heimdall)
|
||||||
[](https://hub.docker.com/r/linuxserver/heimdall)
|
|
||||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-heimdall/job/master/)
|
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-heimdall/job/master/)
|
||||||
[](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/heimdall/latest/index.html)
|
[](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/heimdall/latest/index.html)
|
||||||
|
|
||||||
@@ -87,7 +91,7 @@ Compatible with docker-compose v2 schemas.
|
|||||||
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
version: "2"
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
heimdall:
|
heimdall:
|
||||||
image: linuxserver/heimdall
|
image: linuxserver/heimdall
|
||||||
@@ -117,6 +121,18 @@ Container images are configured using parameters passed at runtime (such as thos
|
|||||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
||||||
| `-v /config` | Contains all relevant configuration files. |
|
| `-v /config` | Contains all relevant configuration files. |
|
||||||
|
|
||||||
|
## Environment variables from files (Docker secrets)
|
||||||
|
|
||||||
|
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||||
|
|
||||||
|
As an example:
|
||||||
|
|
||||||
|
```
|
||||||
|
-e FILE__PASSWORD=/run/secrets/mysecretpassword
|
||||||
|
```
|
||||||
|
|
||||||
|
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
|
||||||
|
|
||||||
## User / Group Identifiers
|
## User / Group Identifiers
|
||||||
|
|
||||||
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||||
@@ -142,6 +158,11 @@ Access the web gui at http://SERVERIP:PORT
|
|||||||
This image now supports password protection through htpasswd. Run the following command on your host to generate the htpasswd file `docker exec -it heimdall htpasswd -c /config/nginx/.htpasswd <username>`. Replace <username> with a username of your choice and you will be asked to enter a password. New installs will automatically pick it up and implement password protected access. Existing users updating their image can delete their site config at `/config/nginx/site-confs/default` and restart the container after updating the image. A new site config with htpasswd support will be created in its place.
|
This image now supports password protection through htpasswd. Run the following command on your host to generate the htpasswd file `docker exec -it heimdall htpasswd -c /config/nginx/.htpasswd <username>`. Replace <username> with a username of your choice and you will be asked to enter a password. New installs will automatically pick it up and implement password protected access. Existing users updating their image can delete their site config at `/config/nginx/site-confs/default` and restart the container after updating the image. A new site config with htpasswd support will be created in its place.
|
||||||
|
|
||||||
|
|
||||||
|
## Docker Mods
|
||||||
|
[](https://mods.linuxserver.io/?mod=heimdall "view available mods for this container.")
|
||||||
|
|
||||||
|
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above.
|
||||||
|
|
||||||
|
|
||||||
## Support Info
|
## Support Info
|
||||||
|
|
||||||
@@ -207,6 +228,8 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
|
* **17.01.20:** - Use nginx from baseimage.
|
||||||
|
* **19.12.19:** - Rebasing to alpine 3.11.
|
||||||
* **16.07.19:** - Save laravel.log to /config/log/heimdall.
|
* **16.07.19:** - Save laravel.log to /config/log/heimdall.
|
||||||
* **28.06.19:** - Rebasing to alpine 3.10.
|
* **28.06.19:** - Rebasing to alpine 3.10.
|
||||||
* **01.04.19:** - Fix permission detect logic.
|
* **01.04.19:** - Fix permission detect logic.
|
||||||
|
|||||||
@@ -1,69 +1,73 @@
|
|||||||
alpine-baselayout-3.1.2-r0
|
alpine-baselayout-3.2.0-r3
|
||||||
alpine-keys-2.1-r2
|
alpine-keys-2.1-r2
|
||||||
apache2-utils-2.4.41-r0
|
apache2-utils-2.4.43-r0
|
||||||
apk-tools-2.10.4-r2
|
apk-tools-2.10.5-r0
|
||||||
apr-1.6.5-r0
|
apr-1.7.0-r0
|
||||||
apr-util-1.6.1-r6
|
apr-util-1.6.1-r6
|
||||||
argon2-libs-20171227-r2
|
argon2-libs-20190702-r1
|
||||||
bash-5.0.0-r0
|
bash-5.0.11-r1
|
||||||
busybox-1.30.1-r2
|
busybox-1.31.1-r9
|
||||||
ca-certificates-20190108-r0
|
ca-certificates-20191127-r1
|
||||||
ca-certificates-cacert-20190108-r0
|
ca-certificates-cacert-20191127-r1
|
||||||
coreutils-8.31-r0
|
coreutils-8.31-r0
|
||||||
curl-7.66.0-r0
|
curl-7.67.0-r0
|
||||||
expat-2.2.8-r0
|
db-5.3.28-r1
|
||||||
git-2.22.0-r0
|
expat-2.2.9-r1
|
||||||
libacl-2.2.52-r6
|
git-2.24.2-r0
|
||||||
|
libacl-2.2.53-r0
|
||||||
libattr-2.4.48-r0
|
libattr-2.4.48-r0
|
||||||
libc-utils-0.7.1-r0
|
libc-utils-0.7.2-r0
|
||||||
libcrypto1.1-1.1.1d-r0
|
libcrypto1.1-1.1.1d-r3
|
||||||
libcurl-7.66.0-r0
|
libcurl-7.67.0-r0
|
||||||
libedit-20190324.3.1-r0
|
libedit-20191211.3.1-r0
|
||||||
libmagic-5.37-r0
|
libldap-2.4.48-r1
|
||||||
libressl2.7-libcrypto-2.7.5-r0
|
libmagic-5.37-r1
|
||||||
libressl2.7-libssl-2.7.5-r0
|
libpq-12.2-r0
|
||||||
libssl1.1-1.1.1d-r0
|
libressl3.0-libcrypto-3.0.2-r0
|
||||||
|
libressl3.0-libssl-3.0.2-r0
|
||||||
|
libsasl-2.1.27-r5
|
||||||
|
libssl1.1-1.1.1d-r3
|
||||||
libtls-standalone-2.9.1-r0
|
libtls-standalone-2.9.1-r0
|
||||||
libuuid-2.33.2-r0
|
libuuid-2.34-r1
|
||||||
libxml2-2.9.9-r2
|
libxml2-2.9.10-r2
|
||||||
libzip-1.5.2-r0
|
libzip-1.5.2-r0
|
||||||
linux-pam-1.3.0-r1
|
linux-pam-1.3.1-r1
|
||||||
logrotate-3.15.0-r0
|
logrotate-3.15.1-r0
|
||||||
musl-1.1.22-r3
|
musl-1.1.24-r2
|
||||||
musl-utils-1.1.22-r3
|
musl-utils-1.1.24-r2
|
||||||
nano-4.3-r0
|
nano-4.6-r0
|
||||||
ncurses-libs-6.1_p20190518-r0
|
ncurses-libs-6.1_p20200118-r2
|
||||||
ncurses-terminfo-6.1_p20190518-r0
|
ncurses-terminfo-base-6.1_p20200118-r2
|
||||||
ncurses-terminfo-base-6.1_p20190518-r0
|
nghttp2-libs-1.40.0-r0
|
||||||
nghttp2-libs-1.39.2-r0
|
nginx-1.16.1-r6
|
||||||
nginx-1.16.1-r0
|
openssl-1.1.1d-r3
|
||||||
openssl-1.1.1d-r0
|
|
||||||
pcre-8.43-r0
|
pcre-8.43-r0
|
||||||
pcre2-10.33-r0
|
pcre2-10.34-r1
|
||||||
php7-7.3.10-r0
|
php7-7.3.16-r0
|
||||||
php7-common-7.3.10-r0
|
php7-common-7.3.17-r0
|
||||||
php7-ctype-7.3.10-r0
|
php7-ctype-7.3.17-r0
|
||||||
php7-fileinfo-7.3.10-r0
|
php7-fileinfo-7.3.16-r0
|
||||||
php7-fpm-7.3.10-r0
|
php7-fpm-7.3.16-r0
|
||||||
php7-json-7.3.10-r0
|
php7-json-7.3.16-r0
|
||||||
php7-mbstring-7.3.10-r0
|
php7-mbstring-7.3.16-r0
|
||||||
php7-openssl-7.3.10-r0
|
php7-openssl-7.3.16-r0
|
||||||
php7-pdo-7.3.10-r0
|
php7-pdo-7.3.17-r0
|
||||||
php7-pdo_sqlite-7.3.10-r0
|
php7-pdo_pgsql-7.3.17-r0
|
||||||
php7-session-7.3.10-r0
|
php7-pdo_sqlite-7.3.17-r0
|
||||||
php7-simplexml-7.3.10-r0
|
php7-session-7.3.16-r0
|
||||||
php7-tokenizer-7.3.10-r0
|
php7-simplexml-7.3.16-r0
|
||||||
php7-xml-7.3.10-r0
|
php7-tokenizer-7.3.17-r0
|
||||||
php7-xmlwriter-7.3.10-r0
|
php7-xml-7.3.16-r0
|
||||||
php7-zip-7.3.10-r0
|
php7-xmlwriter-7.3.16-r0
|
||||||
|
php7-zip-7.3.17-r0
|
||||||
popt-1.16-r7
|
popt-1.16-r7
|
||||||
readline-8.0.0-r0
|
readline-8.0.1-r0
|
||||||
scanelf-1.2.3-r0
|
scanelf-1.2.4-r0
|
||||||
shadow-4.6-r2
|
shadow-4.7-r1
|
||||||
sqlite-libs-3.28.0-r1
|
sqlite-libs-3.30.1-r1
|
||||||
ssl_client-1.30.1-r2
|
ssl_client-1.31.1-r9
|
||||||
tar-1.32-r0
|
tar-1.32-r1
|
||||||
tzdata-2019c-r0
|
tzdata-2019c-r0
|
||||||
xz-5.2.4-r0
|
xz-5.2.4-r0
|
||||||
xz-libs-5.2.4-r0
|
xz-libs-5.2.4-r0
|
||||||
zlib-1.2.11-r1
|
zlib-1.2.11-r3
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
|
- { date: "17.01.20:", desc: "Use nginx from baseimage." }
|
||||||
|
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
|
||||||
- { date: "16.07.19:", desc: "Save laravel.log to /config/log/heimdall." }
|
- { date: "16.07.19:", desc: "Save laravel.log to /config/log/heimdall." }
|
||||||
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
|
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
|
||||||
- { date: "01.04.19:", desc: "Fix permission detect logic." }
|
- { date: "01.04.19:", desc: "Fix permission detect logic." }
|
||||||
|
|||||||
Reference in New Issue
Block a user