mirror of
https://github.com/luzifer-docker/eslint.git
synced 2024-12-20 17:51:18 +00:00
21 lines
613 B
Docker
21 lines
613 B
Docker
FROM node:10-alpine
|
|
|
|
ENV ESLINT_VERSION=5.16.0
|
|
|
|
RUN set -ex \
|
|
&& npm install -g \
|
|
babel-eslint@latest \
|
|
eslint@${ESLINT_VERSION} \
|
|
eslint-config-standard@latest \
|
|
eslint-plugin-import@latest \
|
|
eslint-plugin-node@latest \
|
|
eslint-plugin-promise@latest \
|
|
eslint-plugin-standard@latest \
|
|
eslint-plugin-vue@latest \
|
|
&& ( 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 || true )
|
|
|
|
ENTRYPOINT ["/usr/local/bin/eslint"]
|