Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions dockers/docker-sonic-mgmt/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ RUN apt-get update \
RUN pip install azure-kusto-data==0.0.13 \
azure-kusto-ingest==0.0.13

# Install pytest-ansible module
RUN pip install wheel==0.33.6
RUN pip install pytest-ansible==2.2.2

## Copy and install sonic-mgmt docker dependencies
COPY \
Expand All @@ -131,6 +129,14 @@ RUN pip install ansible==2.8.7

RUN pip install pysubnettree

# Install pytest-ansible module with 'become', 'become_user' parameters support
RUN git clone https://github.com/ansible/pytest-ansible.git \
&& cd pytest-ansible \
&& git checkout d33c025f070a9c870220a157cc5a999fda68de44 \
&& python setup.py install \
&& cd .. \
&& rm -fr pytest-ansible

RUN mkdir /var/run/sshd
EXPOSE 22

Expand Down