mirror of
https://github.com/ansible/awx.git
synced 2026-03-15 16:07:30 -02:30
Fix isolated dev env
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
ARG TAG=latest
|
ARG TAG=latest
|
||||||
FROM ansible/awx_devel:${TAG}
|
FROM ansible/awx_devel:${TAG}
|
||||||
|
|
||||||
RUN yum install -y gcc python36-devel
|
RUN dnf install -y gcc python36-devel openssh-server
|
||||||
RUN python3 -m ensurepip && pip3 install "virtualenv < 20" ansible-runner
|
RUN python3 -m ensurepip && pip3 install "virtualenv < 20" ansible-runner
|
||||||
RUN yum remove -y gcc python36-devel && rm -rf /var/cache/yum
|
RUN dnf remove -y gcc python36-devel && rm -rf /var/cache/dnf
|
||||||
|
|
||||||
RUN rm -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_rsa_key
|
RUN rm -f /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_rsa_key
|
||||||
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_ecdsa_key
|
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_ecdsa_key
|
||||||
|
|||||||
Reference in New Issue
Block a user