mirror of
https://github.com/luzifer-docker/eslint.git
synced 2024-11-09 15:10:01 +00:00
18 lines
501 B
Docker
18 lines
501 B
Docker
FROM node:9-alpine
|
|
|
|
ENV ESLINT_VERSION=4.19.1
|
|
|
|
RUN set -ex \
|
|
&& npm install -g \
|
|
eslint@${ESLINT_VERSION} \
|
|
eslint-plugin-import@latest \
|
|
eslint-plugin-node@latest \
|
|
eslint-plugin-promise@latest \
|
|
eslint-plugin-standard@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
|
|
|
|
ENTRYPOINT ["/usr/local/bin/eslint"]
|