From 73f65c1c548d10331a19d1e5355622be811b770d Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 23 May 2022 22:19:11 +0200 Subject: [PATCH] fix: temp switch to latest release --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21c80c3..c6f0561 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/vnu ARG BUILD_VERSION # renovate: datasource=github-releases depName=validator/validator -ENV VALIDATOR_VERSION="${BUILD_VERSION:-20.6.30}" +ENV VALIDATOR_VERSION="${BUILD_VERSION:-latest}" ADD overlay/ / @@ -18,8 +18,9 @@ RUN apk add --update --no-cache --virtual .build-deps libarchive-tools curl && \ mkdir -p /var/www/app && \ VALIDATOR_VERSION="${VALIDATOR_VERSION##v}" && \ echo "Installing v.Nu Validator version '${VALIDATOR_VERSION}' ..." && \ - curl -SsL "https://github.com/validator/validator/releases/download/${VALIDATOR_VERSION}/vnu.jar_${VALIDATOR_VERSION}.zip" | \ - bsdtar -xf - -C /var/www/app/ --strip-components=1 dist/vnu.jar && \ + # curl -SsL "https://github.com/validator/validator/releases/download/${VALIDATOR_VERSION}/vnu.jar_${VALIDATOR_VERSION}.zip" | \ + # bsdtar -xf - -C /var/www/app/ --strip-components=1 dist/vnu.jar && \ + curl -SsL "https://github.com/validator/validator/releases/download/${VALIDATOR_VERSION}/vnu.jar" -o /var/www/app/vnu.jar | \ apk del .build-deps && \ rm -rf /var/cache/apk/* && \ rm -rf /tmp/* && \ -- 2.24.4