- update all files to use ansible and ansible-core from pip for version consistancy
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
- debian 11 should now build
This commit is contained in:
parent
7661f566eb
commit
2d016927c4
@ -7,11 +7,14 @@ RUN rm /etc/localtime \
|
||||
RUN mkdir -p /root/.ssh
|
||||
COPY conf/ssh_config /root/.ssh/config
|
||||
COPY conf/hosts /etc/hosts
|
||||
COPY python/requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN apt update \
|
||||
&& apt dist-upgrade -y \
|
||||
&& apt autoremove --purge -y \
|
||||
&& apt install -y ansible-core ansible-lint git
|
||||
&& apt install -y python3-pip git \
|
||||
&& pip install pip --upgrade \
|
||||
&& pip install -r /tmp/requirements.txt
|
||||
|
||||
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
|
||||
|
||||
|
@ -7,11 +7,14 @@ RUN rm /etc/localtime \
|
||||
RUN mkdir -p /root/.ssh
|
||||
COPY conf/ssh_config /root/.ssh/config
|
||||
COPY conf/hosts /etc/hosts
|
||||
COPY python/requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN apt update \
|
||||
&& apt dist-upgrade -y \
|
||||
&& apt autoremove --purge -y \
|
||||
&& apt install -y ansible-core ansible-lint git
|
||||
&& apt install -y python3-pip git \
|
||||
&& pip install pip --upgrade \
|
||||
&& pip install -r /tmp/requirements.txt
|
||||
|
||||
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
|
||||
|
||||
|
@ -8,11 +8,12 @@ RUN mkdir -p /root/.ssh
|
||||
COPY conf/ssh_config /root/.ssh/config
|
||||
COPY conf/hosts /etc/hosts
|
||||
COPY conf/dnf.conf /etc/dnf/dnf.conf
|
||||
# COPY python/requirements.txt /tmp/requirements.txt
|
||||
COPY python/requirements.txt /tmp/requirements.txt
|
||||
|
||||
RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
|
||||
# && pip install pip --upgrade \
|
||||
# && pip install -r /tmp/requirements.txt
|
||||
# RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
|
||||
RUN dnf install -y python3-pip git
|
||||
&& pip install pip --upgrade \
|
||||
&& pip install -r /tmp/requirements.txt
|
||||
|
||||
COPY ansible/ansible-check.yml /tmp/ansible-check.yml
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user