From 235077a8519d0b81a8e500359d7fabaa04ee4334 Mon Sep 17 00:00:00 2001 From: Brett Anspach Date: Mon, 16 May 2022 18:56:16 -0500 Subject: [PATCH] INF-2341 Add step to install Ansible linter --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e45361a..ecd2ff5 100644 --- a/Dockerfile +++ b/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 \