mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Fix isolated dev env
This commit is contained in:
parent
cf6c36ecab
commit
00ea453ccd
@ -1,9 +1,9 @@
|
||||
ARG TAG=latest
|
||||
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 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 ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_ecdsa_key
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user