28 lines
498 B
Docker
28 lines
498 B
Docker
FROM local/gitea-runner-base:latest
|
|
|
|
# infra-tools runner profile: Ansible and infrastructure automation tools.
|
|
USER root
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
ca-certificates \
|
|
curl \
|
|
git \
|
|
jq \
|
|
make \
|
|
openssh-client \
|
|
python3 \
|
|
py3-pip \
|
|
rsync \
|
|
unzip \
|
|
yq \
|
|
zip && \
|
|
python3 -m venv /opt/infra-venv && \
|
|
/opt/infra-venv/bin/pip install --no-cache-dir \
|
|
ansible \
|
|
ansible-lint \
|
|
bcrypt \
|
|
fabric \
|
|
passlib \
|
|
pywinrm
|
|
|
|
ENV PATH="/opt/infra-venv/bin:${PATH}" |