-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
Dockerfile
21 lines (17 loc) · 976 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM alpine:3.20.2
WORKDIR /
ARG NPM_GROOVY_LINT_VERSION='latest'
# hadolint ignore=DL3018
RUN apk add --no-cache bash nodejs npm openjdk17 \
&& npm install npm-groovy-lint@${NPM_GROOVY_LINT_VERSION} -g
LABEL maintainer="Nicolas Vuillamy <[email protected]>" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$BUILD_REVISION \
org.opencontainers.image.version=$BUILD_VERSION \
org.opencontainers.image.authors="Nicolas Vuillamy <[email protected]>" \
org.opencontainers.image.url="https://github.com/nvuillam/npm-groovy-lint" \
org.opencontainers.image.source="https://github.com/nvuillam/npm-groovy-lint" \
org.opencontainers.image.documentation="https://nvuillam.github.io/npm-groovy-lint/" \
org.opencontainers.image.vendor="Nicolas Vuillamy" \
org.opencontainers.image.description="Analyze and fix your Groovy and Jenkinsfiles"
ENTRYPOINT ["npm-groovy-lint"]