From 52db130ef8054e34aa21da0b1e5e272e0348512b Mon Sep 17 00:00:00 2001 From: Max Erenberg <> Date: Tue, 2 Nov 2021 20:34:44 -0400 Subject: [PATCH] update docs for packaging in a container --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6e40d35..c8fa63d 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,10 @@ container to avoid screwing up your main system: ```sh 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: ```sh apt install devscripts debhelper git-buildpackage