File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,10 @@ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip
337
337
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install ' docker-py==1.6.0'
338
338
# # Note: keep pip installed for maintainance purpose
339
339
340
+ # # Get gcc and python dev pkgs
341
+ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install gcc libpython2.7-dev
342
+ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install ' netifaces==0.10.7'
343
+
340
344
# # Create /var/run/redis folder for docker-database to mount
341
345
sudo mkdir -p $FILESYSTEM_ROOT /var/run/redis
342
346
@@ -379,11 +383,14 @@ if [ "${enable_organization_extensions}" = "y" ]; then
379
383
fi
380
384
fi
381
385
386
+ # # Remove gcc and python dev pkgs
387
+ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y remove gcc libpython2.7-dev
388
+
382
389
# # Update initramfs
383
390
sudo chroot $FILESYSTEM_ROOT update-initramfs -u
384
391
385
392
# # Clean up apt
386
- sudo LANG=C chroot $FILESYSTEM_ROOT apt-get autoremove
393
+ sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y autoremove
387
394
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get autoclean
388
395
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get clean
389
396
sudo LANG=C chroot $FILESYSTEM_ROOT bash -c ' rm -rf /usr/share/doc/* /usr/share/locale/* /var/lib/apt/lists/* /tmp/*'
Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ RUN pip install --force-reinstall --upgrade jinja2>=2.10
278
278
RUN pip install j2cli
279
279
280
280
# For sonic utilities testing
281
- RUN pip install click-default-group click natsort tabulate
281
+ RUN pip install click-default-group click natsort tabulate netifaces==0.10.7
282
282
283
283
# For supervisor build
284
284
RUN pip install meld3 mock
You can’t perform that action at this time.
0 commit comments