diff --git a/package/Dockerfile.shipyard-linting b/package/Dockerfile.shipyard-linting index 57ca83816..7d995b809 100644 --- a/package/Dockerfile.shipyard-linting +++ b/package/Dockerfile.shipyard-linting @@ -23,10 +23,13 @@ ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} \ # yamllint | YAML linting # yq | YAML processing +ENV MARKDOWNLINT_VERSION=0.33.0 \ + GITLINT_VERSION=0.19.1 + RUN apk add --no-cache bash findutils git grep make nodejs py3-six shellcheck upx yamllint yq && \ apk add --no-cache --virtual installers npm py3-pip && \ - npm install -g markdownlint-cli && \ - pip install gitlint && \ + npm install -g markdownlint-cli@${MARKDOWNLINT_VERSION} && \ + pip install --break-system-packages gitlint==${GITLINT_VERSION} && \ find /usr/bin/ -type f -executable -newercc /proc -size +1M \( -execdir upx {} \; -o -true \) && \ find /usr/lib/ -name __pycache__ -type d -exec rm -rf {} + && \ apk del installers