parent
f2d5c878a3
commit
5739f903ff
@ -3,7 +3,7 @@ LABEL MAINTAINER="Niraj Tolia"
|
|||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get -y update && apt-get -y install gpg emacs curl git \
|
RUN apt-get -y update && apt-get -y install gpg emacs curl git make \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \
|
&& curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \
|
||||||
&& apt-get -y install nodejs \
|
&& apt-get -y install nodejs \
|
||||||
&& apt-get autoclean \
|
&& apt-get autoclean \
|
||||||
|
|||||||
@ -8,12 +8,16 @@ dev:
|
|||||||
-p 3000:3000 \
|
-p 3000:3000 \
|
||||||
-v ${PWD}:/usr/src/docs alcion/docs
|
-v ${PWD}:/usr/src/docs alcion/docs
|
||||||
|
|
||||||
check:
|
dockercheck:
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v ${PWD}:/usr/src/docs alcion/docs vale docs README.md
|
-v ${PWD}:/usr/src/docs alcion/docs vale docs README.md
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/
|
-v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/
|
||||||
|
|
||||||
|
check:
|
||||||
|
vale docs README.md
|
||||||
|
markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
-p 3000:3000 \
|
-p 3000:3000 \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user