INF-2341 Add step to install Ansible linter

This commit is contained in:
Brett Anspach 2022-05-16 18:56:16 -05:00
parent b3b9d0d920
commit 235077a851

View file

@ -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 \