[mgmt docker] move pycryptodome installation to the end of the docker building (#4917)

* [mgmt docker] move pycryptodome installation to the end of the docker building

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* pin down the version to current: 3.9.8

* comment
This commit is contained in:
Ying Xie 2020-07-08 16:39:42 -07:00 committed by Qi Luo
parent 525029e3d8
commit d499a266c0

View File

@ -49,7 +49,6 @@ RUN pip install cffi==1.10.0 \
prettytable \ prettytable \
psutil \ psutil \
pyasn1==0.1.9 \ pyasn1==0.1.9 \
pycryptodome \
pyfiglet \ pyfiglet \
pylint==1.8.1 \ pylint==1.8.1 \
pyro4 \ pyro4 \
@ -169,3 +168,7 @@ RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault==0.3.7 -U
# Install Virtual Environment # Install Virtual Environment
RUN python -m virtualenv --system-site-packages env-201811 RUN python -m virtualenv --system-site-packages env-201811
RUN env-201811/bin/pip install ansible==2.0.0.2 RUN env-201811/bin/pip install ansible==2.0.0.2
# NOTE: There is an ordering dependency for pycryptodome. Leaving this at
# the end until we figure that out.
RUN pip install pycryptodome==3.9.8