File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
dockers/docker-sonic-mgmt Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -111,9 +111,7 @@ RUN apt-get update \
111111RUN pip install azure-kusto-data==0.0.13 \
112112 azure-kusto-ingest==0.0.13
113113
114- # Install pytest-ansible module
115114RUN pip install wheel==0.33.6
116- RUN pip install pytest-ansible==2.2.2
117115
118116## Copy and install sonic-mgmt docker dependencies
119117COPY \
@@ -131,6 +129,14 @@ RUN pip install ansible==2.8.12
131129
132130RUN pip install pysubnettree
133131
132+ # Install pytest-ansible module with 'become', 'become_user' parameters support
133+ RUN git clone https://github.com/ansible/pytest-ansible.git \
134+ && cd pytest-ansible \
135+ && git checkout d33c025f070a9c870220a157cc5a999fda68de44 \
136+ && python setup.py install \
137+ && cd .. \
138+ && rm -fr pytest-ansible
139+
134140RUN mkdir /var/run/sshd
135141EXPOSE 22
136142
You can’t perform that action at this time.
0 commit comments