Skip to content

Commit 092c463

Browse files
yxiecasamaity
authored andcommitted
[mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917)
* [mgmt docker] move pycryptodome installation to the end of the docker building Signed-off-by: Ying Xie <[email protected]> * pin down the version to current: 3.9.8 * comment
1 parent 28ad1b5 commit 092c463

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dockers/docker-sonic-mgmt/Dockerfile.j2

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ RUN pip install cffi==1.10.0 \
4949
prettytable \
5050
psutil \
5151
pyasn1==0.1.9 \
52-
pycryptodome \
5352
pyfiglet \
5453
pylint==1.8.1 \
5554
pyro4 \
@@ -169,3 +168,7 @@ RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault==0.3.7 -U
169168
# Install Virtual Environment
170169
RUN python -m virtualenv --system-site-packages env-201811
171170
RUN env-201811/bin/pip install ansible==2.0.0.2
171+
172+
# NOTE: There is an ordering dependency for pycryptodome. Leaving this at
173+
# the end until we figure that out.
174+
RUN pip install pycryptodome==3.9.8

0 commit comments

Comments
 (0)