-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 1.01 KB
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM alpine:3.23.3
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
ARG BUILD_DATE=""
ARG BUILD_REVISION=""
ARG BUILD_VERSION=""
LABEL maintainer="Nicolas Vuillamy <nicolas.vuillamy@gmail.com>" \
org.opencontainers.image.created="${BUILD_DATE}" \
org.opencontainers.image.revision="${BUILD_REVISION}" \
org.opencontainers.image.version="${BUILD_VERSION}" \
org.opencontainers.image.authors="Nicolas Vuillamy <nicolas.vuillamy@gmail.com>" \
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"]