mirror of
https://github.com/kitabisa/sonarqube-action.git
synced 2025-11-01 05:34:18 +08:00
add dockerfile
This commit is contained in:
parent
7dcc0c1682
commit
fcf0075f5e
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FROM newtmitch/sonar-scanner:4.0.0-alpine
|
||||||
|
|
||||||
|
LABEL "com.github.actions.name"="SonarQube Scan"
|
||||||
|
LABEL "com.github.actions.description"="Scan your code with SonarQube Scanner to detect bugs, vulnerabilities and code smells in more than 25 programming languages."
|
||||||
|
LABEL "com.github.actions.icon"="check"
|
||||||
|
LABEL "com.github.actions.color"="green"
|
||||||
|
|
||||||
|
LABEL version="0.0.1"
|
||||||
|
LABEL repository="https://github.com/kitabisa/sonarqube-action"
|
||||||
|
LABEL homepage="https://kitabisa.github.io"
|
||||||
|
LABEL maintainer="dwisiswant0"
|
||||||
|
|
||||||
|
RUN npm config set unsafe-perm true && \
|
||||||
|
npm install --silent --save-dev -g typescript@3.5.2 && \
|
||||||
|
npm config set unsafe-perm false
|
||||||
|
ENV NODE_PATH "/usr/lib/node_modules/"
|
||||||
|
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
Loading…
x
Reference in New Issue
Block a user