FROM sagemath/sagemath:9.1-py3
RUN sage -pip install pip -i https://pypi.mirrors.ustc.edu.cn/simple/ --upgrade \
&& sage -pip install pandas -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -pip install pydes -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -pip install pyaes -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -pip install pycryptodomex -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -pip install jupyter_nbextensions_configurator -i https://pypi.mirrors.ustc.edu.cn/simple/ \
&& sage -jupyter contrib nbextension install --user \
&& sage -jupyter nbextensions_configurator enable --user \
&& sage -jupyter nbextension enable highlight_selected_word/main \
&& sage -jupyter nbextension enable hinterland/hinterland \
&& sage -jupyter nbextension enable toc2/main
sage
sage