-
Notifications
You must be signed in to change notification settings - Fork 92
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
Get dpkg-formatted arch and use it for docker apt repo #148
Conversation
- Fixes #130 - Tested against amd64/arm64
…use standard existing one - Path exists on at least Ubuntu >= 22.04, Debian 10, Debian 11
Added small tweak that addresses/resolves #123 |
Tested and worked for programming.dev |
@iheart2code Does this work for you? @snowe2010 Which architecture does programming.dev use? |
Can confirm it working on a Debian GNU/Linux 11 (bullseye). |
Worked for me too (debian 11). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thx!
@Nutomic sorry, somehow missed your tag. programming.dev is on |
* Get dpkg-formatted arch and use it for docker apt repo - Fixes LemmyNet#130 - Tested against amd64/arm64 * Add conditional for dpkg command (Debian/Ubuntu), Adjust GPG path to use standard existing one - Path exists on at least Ubuntu >= 22.04, Debian 10, Debian 11
Should pass CI checks, tested against Jammy amd64/arm64. Ansible has no built-in facts that return the format that
apt
/dpkg
is looking for (EX;ansible_architecture
).