mirror of
https://github.com/koenrh/actions.git
synced 2024-12-31 04:21:54 +08:00
6a6f3b1689
Bumps node from 11.10.1-alpine to 11.11-alpine. Signed-off-by: dependabot[bot] <support@dependabot.com>
27 lines
1 KiB
Docker
27 lines
1 KiB
Docker
FROM node:11.11-alpine@sha256:632727f42753f351cd6d1d6b9339a30fd37a1c5e02420cf0c7339ef9b5c1d5ba
|
|
|
|
LABEL name="ESLint"
|
|
LABEL maintainer="Koen Rouwhorst <info@koenrouwhorst.nl>"
|
|
|
|
LABEL "com.github.actions.name"="GitHub Action for ESLint"
|
|
LABEL "com.github.actions.icon"="code"
|
|
LABEL "com.github.actions.color"="blue"
|
|
|
|
ENV ESLINT_VERSION=5.12.1 \
|
|
ESLINT_CHECKSUM="642ba59e25de166cf730d6eeb0af9b6f37ab21a04f5726baae6b1588da4afa60" \
|
|
PATH=/usr/lib/node_modules/.bin:$PATH
|
|
|
|
RUN set -x && \
|
|
wget -O "eslint-$ESLINT_VERSION.tgz" "https://registry.npmjs.org/eslint/-/eslint-$ESLINT_VERSION.tgz" && \
|
|
echo "${ESLINT_CHECKSUM} *eslint-$ESLINT_VERSION.tgz" | sha256sum -c - && \
|
|
npm install -g "eslint-$ESLINT_VERSION.tgz" && \
|
|
rm -rf "eslint-$ESLINT_VERSION.tgz" \
|
|
/usr/share/man \
|
|
/root/.npm /root/.node-gyp \
|
|
/usr/lib/node_modules/npm/man \
|
|
/usr/lib/node_modules/npm/doc \
|
|
/usr/lib/node_modules/npm/html \
|
|
/tmp/*
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|