Merge pull request #25 from svc-design/ci-runner-alpine-ansible-lint

alpine-ansible-lint: add package bash
This commit is contained in:
shenlan 2024-04-13 12:34:53 +08:00 committed by GitHub
commit c0065376d4

View File

@ -19,7 +19,7 @@ RUN apk add --update --no-cache curl binutils \
&& rm -rf /var/cache/apk/*
# Install system dependencies
RUN apk add --no-cache git python3 py3-pip jq \
RUN apk add --no-cache bash git python3 py3-pip jq \
&& pip3 install --upgrade pip \
&& pip3 install hvac jinja2 ansible ansible-lint \
&& ansible-galaxy collection install community.hashi_vault
@ -28,4 +28,4 @@ RUN apk add --no-cache git python3 py3-pip jq \
WORKDIR /src
# Define an entrypoint
ENTRYPOINT ["/bin/sh"]
ENTRYPOINT ["/bin/bash"]