Ansible repository with playbooks to manage azure objects
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- FROM python:3.8-alpine
-
- RUN apk update && \
- apk add --no-cache --virtual .build-deps make gcc musl-dev python3-dev \
- python3 libffi libffi-dev openssl-dev openssh-client cargo vim bash
-
- RUN ls /usr/bin/python3 && ln -s /usr/bin/python3 /usr/bin/python && \
- ls /usr/local/bin/python3 && ln -s /usr/local/bin/python3 /usr/bin/python3
-
- WORKDIR /opt/ansible
-
- COPY requirements.txt /opt/ansible
- RUN pip3 install --no-cache-dir -r requirements.txt && \
- ansible-galaxy collection install paloaltonetworks.panos
-
- RUN apk del .build-deps
-
- COPY . /opt/ansible
- RUN find /opt/ansible -type f -exec dos2unix -u {} \;
-
- RUN adduser -S -u 1044 ansible-user
- USER ansible-user
- CMD ["/bin/bash"]
|