mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-15 18:46:31 +00:00
INF-2341 Add step to install Ansible linter
This commit is contained in:
parent
b3b9d0d920
commit
235077a851
1 changed files with 11 additions and 1 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -9,10 +9,20 @@ LABEL version="1.1.0" \
|
|||
com.github.actions.icon="check" \
|
||||
com.github.actions.color="green"
|
||||
|
||||
# Add certificate in java keystore
|
||||
# Add Ingenio certificate to java keystore
|
||||
COPY wildcard_corp_ingenio_com.pem .
|
||||
RUN keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file wildcard_corp_ingenio_com.pem
|
||||
|
||||
# Update repository sources
|
||||
RUN apk update
|
||||
|
||||
# Install Python 3
|
||||
RUN apk add python3 \
|
||||
py3-pip
|
||||
|
||||
# Install Ansible linter
|
||||
RUN pip3 install ansible-lint
|
||||
|
||||
# Install PowerShell
|
||||
# https://docs.microsoft.com/en-us/powershell/scripting/install/install-alpine?view=powershell-7.2#installation-steps
|
||||
RUN apk add --no-cache \
|
||||
|
|
|
|||
Loading…
Reference in a new issue