From 1e7a1754bac04c623bc28209b5c1136eba8cda15 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 31 Mar 2023 11:17:45 +0200 Subject: [PATCH] Fix superfluous v in s6-overlay versioning (#143) --- .github/renovate.json | 3 ++- base/Dockerfile | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index b5e1d4e..7544ad1 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -32,7 +32,8 @@ ], "datasourceTemplate": "github-tags", "versioningTemplate": "loose", - "depNameTemplate": "just-containers/s6-overlay" + "depNameTemplate": "just-containers/s6-overlay", + "extractVersionTemplate": "^v(?.*)$" }, { "fileMatch": ["/Dockerfile$"], diff --git a/base/Dockerfile b/base/Dockerfile index 6027d70..e8b6e82 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -26,7 +26,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install base system ARG BUILD_ARCH=amd64 ARG BASHIO_VERSION="v0.14.3" -ARG S6_OVERLAY_VERSION="v3.1.4.1" +ARG S6_OVERLAY_VERSION="3.1.4.1" ARG TEMPIO_VERSION="2021.09.0" RUN \ apt-get update \ @@ -46,16 +46,16 @@ RUN \ elif [ "${BUILD_ARCH}" = "amd64" ]; then S6_ARCH="x86_64"; \ elif [ "${BUILD_ARCH}" = "armv7" ]; then S6_ARCH="arm"; fi \ \ - && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" \ + && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" \ | tar -C / -Jxpf - \ \ - && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" \ + && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" \ | tar -C / -Jxpf - \ \ - && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" \ + && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" \ | tar -C / -Jxpf - \ \ - && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" \ + && curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" \ | tar -C / -Jxpf - \ \ && mkdir -p /etc/fix-attrs.d \