Upgrade node, fix broken chaining

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-07-03 15:14:38 +02:00
parent ea4d9294fa
commit 8778a7b7d6
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -1,4 +1,4 @@
FROM node:9-alpine FROM node:10-alpine
ENV ESLINT_VERSION=5.16.0 ENV ESLINT_VERSION=5.16.0
@ -12,10 +12,10 @@ RUN set -ex \
eslint-plugin-promise@latest \ eslint-plugin-promise@latest \
eslint-plugin-standard@latest \ eslint-plugin-standard@latest \
eslint-plugin-vue@latest \ eslint-plugin-vue@latest \
&& rm -rf /usr/share/man /tmp/* \ && ( rm -rf /usr/share/man /tmp/* \
/root/.npm /root/.node-gyp \ /root/.npm /root/.node-gyp \
/usr/lib/node_modules/npm/man \ /usr/lib/node_modules/npm/man \
/usr/lib/node_modules/npm/doc \ /usr/lib/node_modules/npm/doc \
/usr/lib/node_modules/npm/html || true /usr/lib/node_modules/npm/html || true )
ENTRYPOINT ["/usr/local/bin/eslint"] ENTRYPOINT ["/usr/local/bin/eslint"]