mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Merge pull request #7824 from shanemcd/fix-isolated-dev-env
Fix isolated dev env Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
57732d4630
@ -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