[Tests] Integrate dockerfile_lint to test Dockerfile

This commit is contained in:
Peter Dave Hello
2018-07-12 12:14:06 +08:00
parent cdde74a55d
commit 7ff20855a2
3 changed files with 7 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ RUN echo '[ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # Th
# nodejs and tools
RUN bash -c 'source $HOME/.nvm/nvm.sh && \
nvm install node && \
npm install -g doctoc urchin eclint && \
npm install -g doctoc urchin eclint dockerfile_lint && \
npm install --prefix "$HOME/.nvm/"'
# Set WORKDIR to nvm directory