Define dependencies
Contents
Define dependencies#
It is quite common that our programs need to import libraries, thus we need a way to install them. Since our programs reside in Docker images, we need a way to install libraries in the same image.
The template provided by Duckietown supports two package managers out of the box:
Advanced Package Tool (
apt
)Pip Installs Packages for Python3 (
pip3
)
List your apt packages or pip3 packages in the files dependencies-apt.txt
and dependencies-py3.txt
respectively before running the command dts devel build
.