[baseimage]: add j2cli to sonic_debian_extension.j2 (#8019)

j2cli provides access to jinja library. cisco platform.py requires j2cli to handle jinja template configuration files.
This commit is contained in:
VenkatCisco 2021-08-03 18:06:59 -07:00 committed by Judy Joseph
parent 37c0638c9e
commit 1fd10401c0

View File

@ -114,6 +114,9 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
python-dev \
python3-dev
# Install j2cli for handling jinja template
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "j2cli==0.3.10"
# Install Python client for Redis
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip2 install "redis==3.5.3"
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install "redis==3.5.3"