diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml index 45c67f4..07fd801 100755 --- a/.github/workflows/external_trigger.yml +++ b/.github/workflows/external_trigger.yml @@ -23,7 +23,7 @@ jobs: echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY echo "> External trigger running off of master branch. To disable this trigger, add \`webgrabplus_master\` into the Github organizational variable \`SKIP_EXTERNAL_TRIGGER\`." >> $GITHUB_STEP_SUMMARY printf "\n## Retrieving external version\n\n" >> $GITHUB_STEP_SUMMARY - EXT_RELEASE=$(curl -fsL 'http://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\1|') + EXT_RELEASE=$(curl -fsL 'https://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\1|') echo "Type is \`custom_version_command\`" >> $GITHUB_STEP_SUMMARY if [ -z "${EXT_RELEASE}" ] || [ "${EXT_RELEASE}" == "null" ]; then echo "> [!WARNING]" >> $GITHUB_STEP_SUMMARY diff --git a/Dockerfile b/Dockerfile index 4af3384..a0eabe6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/baseimage-alpine:3.20 +FROM ghcr.io/linuxserver/baseimage-alpine:3.21 # set version label ARG BUILD_DATE @@ -12,7 +12,7 @@ LABEL maintainer="saarg" ARG WEBGRAB_VER # environment variables. -ENV HOME /config +ENV HOME=/config RUN \ echo "**** install packages ****" && \ @@ -28,10 +28,10 @@ RUN \ /tmp/dotnet-install.sh -c 8.0 --install-dir /app/dotnet --runtime dotnet && \ echo "**** install webgrabplus ****" && \ if [ -z "$WEBGRAB_VER" ]; then \ - WEBGRAB_VER=$(curl -fsL http://webgrabplus.com/download/sw | grep -m1 /download/sw/v | sed 's|.*/download/sw/v\(.*\)">V.*|\1|'); \ + WEBGRAB_VER=$(curl -fsL https://webgrabplus.com/download/sw | grep -m1 /download/sw/v | sed 's|.*/download/sw/v\(.*\)">V.*|\1|'); \ fi && \ echo "Found Webgrabplus version ${WEBGRAB_VER}" && \ - WEBGRAB_URL=$(curl -fsL http://webgrabplus.com/download/sw/v${WEBGRAB_VER} | grep '>Linux' | sed 's|.*\(http://webgrab.*.gz\).*|\1|') && \ + WEBGRAB_URL=$(curl -fsL https://webgrabplus.com/download/sw/v${WEBGRAB_VER} | grep '>Linux' | sed 's|.*\(https://webgrab.*.gz\).*|\1|') && \ mkdir -p \ /app/wg++ && \ curl -o /tmp/wg++.tar.gz -L \ @@ -42,7 +42,7 @@ RUN \ echo "**** download siteini.pack ****" && \ curl -o \ /tmp/ini.zip -L \ - http://www.webgrabplus.com/sites/default/files/download/ini/SiteIniPack_current.zip && \ + https://www.webgrabplus.com/sites/default/files/download/ini/SiteIniPack_current.zip && \ unzip -q /tmp/ini.zip -d /defaults/ini/ && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 981fc00..b90bdda 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20 +FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21 # set version label ARG BUILD_DATE @@ -12,8 +12,7 @@ LABEL maintainer="saarg" ARG WEBGRAB_VER # environment variables. -ARG DEBIAN_FRONTEND="noninteractive" -ENV HOME /config +ENV HOME=/config RUN \ echo "**** install packages ****" && \ @@ -29,10 +28,10 @@ RUN \ /tmp/dotnet-install.sh -c 8.0 --install-dir /app/dotnet --runtime dotnet && \ echo "**** install webgrabplus ****" && \ if [ -z "$WEBGRAB_VER" ]; then \ - WEBGRAB_VER=$(curl -fsL http://webgrabplus.com/download/sw | grep -m1 /download/sw/v | sed 's|.*/download/sw/v\(.*\)">V.*|\1|'); \ + WEBGRAB_VER=$(curl -fsL https://webgrabplus.com/download/sw | grep -m1 /download/sw/v | sed 's|.*/download/sw/v\(.*\)">V.*|\1|'); \ fi && \ echo "Found Webgrabplus version ${WEBGRAB_VER}" && \ - WEBGRAB_URL=$(curl -fsL http://webgrabplus.com/download/sw/v${WEBGRAB_VER} | grep '>Linux' | sed 's|.*\(http://webgrab.*\.gz\).*|\1|') && \ + WEBGRAB_URL=$(curl -fsL https://webgrabplus.com/download/sw/v${WEBGRAB_VER} | grep '>Linux' | sed 's|.*\(https://webgrab.*\.gz\).*|\1|') && \ mkdir -p \ /app/wg++ && \ curl -o /tmp/wg++.tar.gz -L \ @@ -43,7 +42,7 @@ RUN \ echo "**** download siteini.pack ****" && \ curl -o \ /tmp/ini.zip -L \ - http://www.webgrabplus.com/sites/default/files/download/ini/SiteIniPack_current.zip && \ + https://www.webgrabplus.com/sites/default/files/download/ini/SiteIniPack_current.zip && \ unzip -q /tmp/ini.zip -d /defaults/ini/ && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ echo "**** cleanup ****" && \ diff --git a/Jenkinsfile b/Jenkinsfile index 1df59c0..f329888 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -131,7 +131,7 @@ pipeline { steps{ script{ env.EXT_RELEASE = sh( - script: ''' curl -fsL 'http://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\\1|' ''', + script: ''' curl -fsL 'https://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\\1|' ''', returnStdout: true).trim() env.RELEASE_LINK = 'custom_command' } @@ -573,7 +573,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Webgrabplus\" \ - --label \"org.opencontainers.image.description=[Webgrabplus](http://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ + --label \"org.opencontainers.image.description=[Webgrabplus](https://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ --no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \ --provenance=true --sbom=true --builder=container --load \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." @@ -639,7 +639,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Webgrabplus\" \ - --label \"org.opencontainers.image.description=[Webgrabplus](http://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ + --label \"org.opencontainers.image.description=[Webgrabplus](https://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ --no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \ --provenance=true --sbom=true --builder=container --load \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." @@ -698,7 +698,7 @@ pipeline { --label \"org.opencontainers.image.licenses=GPL-3.0-only\" \ --label \"org.opencontainers.image.ref.name=${COMMIT_SHA}\" \ --label \"org.opencontainers.image.title=Webgrabplus\" \ - --label \"org.opencontainers.image.description=[Webgrabplus](http://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ + --label \"org.opencontainers.image.description=[Webgrabplus](https://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels.\" \ --no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \ --provenance=true --sbom=true --builder=container --load \ --build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ." diff --git a/README.md b/README.md index 6b96627..29b4739 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ Find us at: [![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-webgrabplus%2Fjob%2Fmaster%2F&logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-webgrabplus/job/master/) [![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%2Fwebgrabplus%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/webgrabplus/latest/index.html) -[Webgrabplus](http://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels. +[Webgrabplus](https://www.webgrabplus.com) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels. -[![webgrabplus](http://www.webgrabplus.com/sites/default/themes/WgTheme/images/slideshows/EPG_fading.jpg)](http://www.webgrabplus.com) +[![webgrabplus](https://www.webgrabplus.com/sites/default/themes/WgTheme/images/slideshows/EPG_fading.jpg)](https://www.webgrabplus.com) ## Supported Architectures @@ -59,7 +59,7 @@ The architectures supported by this image are: ## Application Setup -To configure WebGrab+Plus follow the [documentation](http://www.webgrabplus.com/documentation/configuration/) +To configure WebGrab+Plus follow the [documentation](https://www.webgrabplus.com/documentation/configuration/) **Please note that depending on your host this container may not work with the `no-new-privileges=true` security-opt.** @@ -291,6 +291,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **25.06.24:** - Rebase to Alpine 3.21. * **25.06.24:** - Rebase to Alpine 3.20. * **23.04.24:** - Bump dotnet framework to 8.x. * **23.12.23:** - Rebase to Alpine 3.19. diff --git a/jenkins-vars.yml b/jenkins-vars.yml index 646b763..13b1725 100644 --- a/jenkins-vars.yml +++ b/jenkins-vars.yml @@ -3,7 +3,7 @@ # jenkins variables project_name: docker-webgrabplus external_type: na -custom_version_command: "curl -fsL 'http://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\\\\1|'" +custom_version_command: "curl -fsL 'https://webgrabplus.com/download/sw' | grep -m1 '/download/sw/v' | sed -r 's|.*/download/sw/v(.*).>V.*|\\\\1|'" release_type: stable release_tag: latest ls_branch: master diff --git a/readme-vars.yml b/readme-vars.yml index a4f6854..af99d81 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -2,8 +2,8 @@ # project information project_name: webgrabplus -project_url: "http://www.webgrabplus.com" -project_logo: "http://www.webgrabplus.com/sites/default/themes/WgTheme/images/slideshows/EPG_fading.jpg" +project_url: "https://www.webgrabplus.com" +project_logo: "https://www.webgrabplus.com/sites/default/themes/WgTheme/images/slideshows/EPG_fading.jpg" project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a multi-site incremental xmltv epg grabber. It collects tv-program guide data from selected tvguide sites for your favourite channels." project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" project_categories: "Media Tools" @@ -24,10 +24,12 @@ param_usage_include_vols: true param_volumes: - {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files"} - {vol_path: "/data", vol_host_path: "/path/to/data", desc: "Where webgrabplus should store it's data files."} +readonly_supported: false +nonroot_supported: false # application setup block app_setup_block_enabled: true app_setup_block: | - To configure WebGrab+Plus follow the [documentation](http://www.webgrabplus.com/documentation/configuration/) + To configure WebGrab+Plus follow the [documentation](https://www.webgrabplus.com/documentation/configuration/) **Please note that depending on your host this container may not work with the `no-new-privileges=true` security-opt.** @@ -82,6 +84,7 @@ init_diagram: | "webgrabplus:latest" <- Base Images # changelog changelogs: + - {date: "25.06.24:", desc: "Rebase to Alpine 3.21."} - {date: "25.06.24:", desc: "Rebase to Alpine 3.20."} - {date: "23.04.24:", desc: "Bump dotnet framework to 8.x."} - {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}