Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bullseye builder #317

Merged
merged 3 commits into from
May 11, 2022
Merged

Add a bullseye builder #317

merged 3 commits into from
May 11, 2022

Conversation

legoktm
Copy link
Member

@legoktm legoktm commented May 10, 2022

Duplicate the current dockerfiles/ directory into a separate buster
and bullseye directories with the understanding that the buster
one is going to go away pretty soon, so it's not worth abstracting
the logic to be platform agnostic.

I dropped some packages and the timezone step that were already present
in the base debian:bullseye image.

I added my PGP key to the trusted set and rebuilt the Cython wheel for Python 3.9,
so now the bootstrap is installable in the bullseye container.

Note: I have not yet pushed the image to quay.io.

@sssoleileraaa
Copy link
Contributor

@legoktm you can add your key to https://github.com/freedomofpress/securedrop-debian-packaging/tree/main/pubkeys

@sssoleileraaa
Copy link
Contributor

Does this conflict with #301 in any way?

legoktm added 3 commits May 11, 2022 14:29
Duplicate the current dockerfiles/ directory into a separate buster
and bullseye directories with the understanding that the buster
one is going to go away pretty soon, so it's not worth abstracting
the logic to be platform agnostic.

I dropped some packages and the timezone step that were already present
in the base `debian:bullseye` image.
This merely builds a 3.9 wheel for Cython and updates all the associated
files for the new wheel. With this, it's possible to install the bootstrap
in a bullseye container.
Copy link
Contributor

@sssoleileraaa sssoleileraaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spoke to @legoktm, did a code walkthrough, and agreed to do more testing (than just building the container locally) post merge so that we can confirm that we can successfully build a workstation component for bullseye. Since we are about to build 9 components, we'll have plenty of opportunity to work out any issues that may arise.

re: #317 (comment), this shouldn't conflict with #301 which adds bullseye build logic for a metapackage.

@sssoleileraaa sssoleileraaa merged commit 458f6c7 into main May 11, 2022
@sssoleileraaa sssoleileraaa deleted the bullseye branch May 11, 2022 19:04
@legoktm
Copy link
Member Author

legoktm commented May 11, 2022

quay.io/freedomofpress/packaging-debian-bullseye:2022_05_10 has now been pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants