diff --git a/docs/check.Dockerfile b/docs/check.Dockerfile index 79af5c3cf..4126bf2f7 100644 --- a/docs/check.Dockerfile +++ b/docs/check.Dockerfile @@ -15,8 +15,12 @@ RUN gem install html-proofer --version 3.13.0 --no-document -- --use-system-libr RUN apk --no-cache --no-progress add \ git \ nodejs \ - npm \ - && npm install --global \ + npm + +# To handle 'not get uid/gid' +RUN npm config set unsafe-perm true + +RUN npm install --global \ markdownlint@0.17.2 \ markdownlint-cli@0.19.0