diff --git a/.github/workflows/call_invalid_helper.yml b/.github/workflows/call_invalid_helper.yml new file mode 100644 index 0000000..773767c --- /dev/null +++ b/.github/workflows/call_invalid_helper.yml @@ -0,0 +1,12 @@ +name: Comment on invalid interaction +on: + issues: + types: + - labeled +jobs: + add-comment-on-invalid: + if: github.event.label.name == 'invalid' + permissions: + issues: write + uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1 + secrets: inherit diff --git a/Dockerfile b/Dockerfile index 2196102..4e56c82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ -FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.15 +# syntax=docker/dockerfile:1 + +FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.17 # set version label ARG BUILD_DATE @@ -13,16 +15,14 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 RUN \ echo "**** install runtime packages ****" && \ apk add --no-cache --upgrade \ - curl \ - php8-ctype \ - php8-curl \ - php8-intl \ - php8-pdo_pgsql \ - php8-pdo_sqlite \ - php8-pdo_mysql \ - php8-tokenizer \ - php8-zip \ - tar && \ + php81-ctype \ + php81-curl \ + php81-intl \ + php81-pdo_pgsql \ + php81-pdo_sqlite \ + php81-pdo_mysql \ + php81-tokenizer \ + php81-zip && \ echo "**** install heimdall ****" && \ mkdir -p \ /heimdall && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index a18fb82..2411550 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,4 +1,6 @@ -FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.15 +# syntax=docker/dockerfile:1 + +FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.17 # set version label ARG BUILD_DATE @@ -13,16 +15,14 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 RUN \ echo "**** install runtime packages ****" && \ apk add --no-cache --upgrade \ - curl \ - php8-ctype \ - php8-curl \ - php8-intl \ - php8-pdo_pgsql \ - php8-pdo_sqlite \ - php8-pdo_mysql \ - php8-tokenizer \ - php8-zip \ - tar && \ + php81-ctype \ + php81-curl \ + php81-intl \ + php81-pdo_pgsql \ + php81-pdo_sqlite \ + php81-pdo_mysql \ + php81-tokenizer \ + php81-zip && \ echo "**** install heimdall ****" && \ mkdir -p \ /heimdall && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index abac25a..7739e88 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -1,4 +1,6 @@ -FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.15 +# syntax=docker/dockerfile:1 + +FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm32v7-3.17 # set version label ARG BUILD_DATE @@ -13,16 +15,14 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 RUN \ echo "**** install runtime packages ****" && \ apk add --no-cache --upgrade \ - curl \ - php8-ctype \ - php8-curl \ - php8-intl \ - php8-pdo_pgsql \ - php8-pdo_sqlite \ - php8-pdo_mysql \ - php8-tokenizer \ - php8-zip \ - tar && \ + php81-ctype \ + php81-curl \ + php81-intl \ + php81-pdo_pgsql \ + php81-pdo_sqlite \ + php81-pdo_mysql \ + php81-tokenizer \ + php81-zip && \ echo "**** install heimdall ****" && \ mkdir -p \ /heimdall && \ diff --git a/Jenkinsfile b/Jenkinsfile index 60fa4c4..afde1c4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -464,7 +464,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Heimdall\" \ - --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.\" \ + --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. \" \ --no-cache --pull -t ${IMAGE}:${META_TAG} \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." } @@ -494,7 +494,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Heimdall\" \ - --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.\" \ + --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. \" \ --no-cache --pull -t ${IMAGE}:amd64-${META_TAG} \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." } @@ -521,7 +521,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Heimdall\" \ - --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.\" \ + --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. \" \ --no-cache --pull -f Dockerfile.armhf -t ${IMAGE}:arm32v7-${META_TAG} \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." sh "docker tag ${IMAGE}:arm32v7-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm32v7-${COMMIT_SHA}-${BUILD_NUMBER}" @@ -555,7 +555,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Heimdall\" \ - --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo.\" \ + --label \"org.opencontainers.image.description=[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. Simplicity is the key to Heimdall. Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. \" \ --no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." sh "docker tag ${IMAGE}:arm64v8-${META_TAG} ghcr.io/linuxserver/lsiodev-buildcache:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER}" diff --git a/README.md b/README.md index 0574b3d..a9b72ff 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,9 @@ Find us at: [![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fheimdall%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/heimdall/latest/index.html) [Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way. + Simplicity is the key to Heimdall. + Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. [![heimdall](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/heimdall-banner.png)](https://heimdall.site) @@ -240,6 +242,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **20.01.23:** - Rebase to alpine 3.17 with php8.1. * **14.11.22:** - Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base)). * **04.11.22:** - Build commits to upstream branch 2.x for the `development` tag. * **13.03.21:** - Make searchproviders.yaml user configurable. diff --git a/readme-vars.yml b/readme-vars.yml index c69fa69..5851c2e 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -4,11 +4,12 @@ project_name: heimdall project_url: "https://heimdall.site" project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/heimdall-banner.png" -project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a way to organise all those links to your most used web sites and web applications in a simple way. +project_blurb: | + [{{ project_name|capitalize }}]({{ project_url }}) is a way to organise all those links to your most used web sites and web applications in a simple way. -Simplicity is the key to Heimdall. + Simplicity is the key to Heimdall. -Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo." + Why not use it as your browser start page? It even has the ability to include a search bar using either Google, Bing or DuckDuckGo. project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" # supported architectures @@ -49,6 +50,7 @@ app_setup_block: | # changelog changelogs: + - { date: "20.01.23:", desc: "Rebase to alpine 3.17 with php8.1." } - { date: "14.11.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." } - { date: "04.11.22:", desc: "Build commits to upstream branch 2.x for the `development` tag." } - { date: "13.03.21:", desc: "Make searchproviders.yaml user configurable." } diff --git a/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-heimdall-config b/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-heimdall-config new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/dependencies.d/init-nginx-end b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/dependencies.d/init-nginx-end new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/cont-init.d/50-config b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run old mode 100644 new mode 100755 similarity index 97% rename from root/etc/cont-init.d/50-config rename to root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run index 60a566e..1bcb0c6 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run @@ -47,8 +47,7 @@ ln -s /config/www/searchproviders.yaml /app/www/storage/app/searchproviders.yaml # tidy up install files & set permissions if [[ -f /heimdall/heimdall.tar.gz ]]; then rm -rf /heimdall - chown -R abc:abc /app/www - chown -R abc:abc /config + lsiown -R abc:abc /config fi # copy .env if not exists diff --git a/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/type b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/type @@ -0,0 +1 @@ +oneshot diff --git a/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/up b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/up new file mode 100644 index 0000000..e728444 --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/up @@ -0,0 +1 @@ +/etc/s6-overlay/s6-rc.d/init-heimdall-config/run diff --git a/root/etc/s6-overlay/s6-rc.d/svc-queue/dependencies.d/init-services b/root/etc/s6-overlay/s6-rc.d/svc-queue/dependencies.d/init-services new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/services.d/queue/run b/root/etc/s6-overlay/s6-rc.d/svc-queue/run old mode 100644 new mode 100755 similarity index 100% rename from root/etc/services.d/queue/run rename to root/etc/s6-overlay/s6-rc.d/svc-queue/run diff --git a/root/etc/s6-overlay/s6-rc.d/svc-queue/type b/root/etc/s6-overlay/s6-rc.d/svc-queue/type new file mode 100644 index 0000000..5883cff --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/svc-queue/type @@ -0,0 +1 @@ +longrun diff --git a/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-heimdall-config b/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-heimdall-config new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-queue b/root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-queue new file mode 100644 index 0000000..e69de29