2018-04-20 06:20:17 +00:00
|
|
|
FROM node:9-alpine
|
|
|
|
|
2019-05-16 12:24:08 +00:00
|
|
|
ENV ESLINT_VERSION=5.16.0
|
2018-04-20 06:20:17 +00:00
|
|
|
|
|
|
|
RUN set -ex \
|
|
|
|
&& npm install -g \
|
2018-06-05 11:05:07 +00:00
|
|
|
babel-eslint@latest \
|
2018-04-20 06:20:17 +00:00
|
|
|
eslint@${ESLINT_VERSION} \
|
2018-06-05 10:52:59 +00:00
|
|
|
eslint-config-standard@latest \
|
2018-04-20 06:20:17 +00:00
|
|
|
eslint-plugin-import@latest \
|
|
|
|
eslint-plugin-node@latest \
|
|
|
|
eslint-plugin-promise@latest \
|
|
|
|
eslint-plugin-standard@latest \
|
2018-06-05 10:23:03 +00:00
|
|
|
eslint-plugin-vue@latest \
|
2018-04-20 06:20:17 +00:00
|
|
|
&& rm -rf /usr/share/man /tmp/* \
|
|
|
|
/root/.npm /root/.node-gyp \
|
|
|
|
/usr/lib/node_modules/npm/man \
|
|
|
|
/usr/lib/node_modules/npm/doc \
|
|
|
|
/usr/lib/node_modules/npm/html
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/eslint"]
|