10 lines
344 B
Docker
10 lines
344 B
Docker
FROM node:current-alpine
|
|
RUN apk update && apk add --no-cache tini bash git
|
|
RUN npm install --global @commitlint/cli @commitlint/config-conventional
|
|
|
|
RUN echo "export default { extends: ['@commitlint/config-conventional'] };" > /etc/commitlint.config.mjs
|
|
|
|
ADD plugin.sh /
|
|
RUN chmod a+x /plugin.sh
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--", "/plugin.sh"] |