Skip to content

Adds small QoL improvments to debian workers - #59

Merged
kpcyrd merged 3 commits into
kpcyrd:mainfrom
SantiagoTorres:debian-docker-worker
Jul 31, 2021
Merged

Adds small QoL improvments to debian workers#59
kpcyrd merged 3 commits into
kpcyrd:mainfrom
SantiagoTorres:debian-docker-worker

Conversation

@SantiagoTorres

Copy link
Copy Markdown
Contributor

This PR contains the following:

  1. Update from buster to bullseye
  2. Explicitly install mmdebstrap
  3. Use rebuilderd-worker as ENTRYPOINT
  4. Adds a small readme on how to run these containers as single-shot

Comment thread worker/Dockerfile.debian Outdated
In order to build debian packages on debian machines, we need a newer
suite of mmdebstrap for srebuild. Update to the up-and-coming debian
stable (bullseye, now testing) to use a newer (now also explicitly
installed) mmdebstrap.

Lastly, to keep things consistent between Dockerfiles, use ENTRYPOINT
rather than CMD (this also keeps things a little neater when issuing
workers for testing)

Note: we are using bullseye as a tag for the container stage (and not
testing) to ensure a nicer handoff in the coming weeks.
For the sake of my memory, and because it could be helpful to those
trying to manage workers as containers, document the process a little
bit in its own readme. It goes without saying, the debian docker
container needs CAP_SYS_ADMIN, and that's needs to be adequately
called out.
@SantiagoTorres

Copy link
Copy Markdown
Contributor Author

Done, ready for another roll! :)

@kpcyrd
kpcyrd merged commit b015d16 into kpcyrd:main Jul 31, 2021
@kpcyrd

kpcyrd commented Jul 31, 2021

Copy link
Copy Markdown
Owner

Thanks! :)

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