fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
91b814058d
commit
275ee87014
@ -18,9 +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" | \
|
||||
# curl -SsfL "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 | \
|
||||
curl -SsfL "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/* && \
|
||||
|
Reference in New Issue
Block a user