update docs for packaging in a container
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Max Erenberg 2021-11-02 20:34:44 -04:00
parent 99819ce4fe
commit 52db130ef8
1 changed files with 4 additions and 0 deletions

View File

@ -229,6 +229,10 @@ container to avoid screwing up your main system:
podman run -it --name pyceo-packaging -v "$PWD":"$PWD" -w "$PWD" debian:buster bash
**Important**: Make sure to use a container image for the same distribution which you're packaging.
For example, if you're creating a package for bullseye, you should be using the debian:bullseye
Docker image (this is because the virtualenv symlinks python to the OS' version of python).
Here are some of the prerequisites you'll need to build the deb files:
apt install devscripts debhelper git-buildpackage