Update Dockerfile

This commit is contained in:
Alexandre
2022-01-22 22:12:09 +01:00
committed by GitHub
parent dc6e8517ba
commit 63e4c74f2e

View File

@@ -24,6 +24,8 @@ FROM anthonyraymond/joal:$BUILD_UPSTREAM
##################
# Install Joal
# spellcheck disable=SC2015
# hadolint ignore=SC2015,DL4006
RUN \
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi \
&& curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null \