Add eslint to the Dockerfile.

This commit is contained in:
w0rp 2016-10-13 23:53:17 +01:00
parent f2dba0f487
commit 29271f3477

View File

@ -7,11 +7,14 @@ ENV PACKAGES="\
git \ git \
python=2.7.12-r0 \ python=2.7.12-r0 \
py-pip=8.1.2-r0 \ py-pip=8.1.2-r0 \
nodejs \
" "
RUN apk --update add $PACKAGES && \ RUN apk --update add $PACKAGES && \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/* rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
RUN pip install vim-vint==0.3.9 RUN pip install vim-vint==0.3.9
RUN npm install -g eslint@3.7.1
RUN git clone https://github.com/junegunn/vader.vim vader && \ RUN git clone https://github.com/junegunn/vader.vim vader && \
cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af