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

[v5] Fix architecture detection for linux/386 images #1599

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

PromoFaux
Copy link
Member

What does this PR aim to accomplish?:

Fixes #1524

arch returns x86_64 when using --platform=linux/386 with the docker build command, whereas dpkg --print-architecture returns i386

Interestingly, building the image on an actual 32 bit machine does not show the same behaviour, so I guess this is an issue with docker build. No matter, this will work for now and will allow people to use :latest on 32-bit hosts if they wish. (v6 has no such issue)


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code and I have tested my changes.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)

  • I have read the above and my PR is ready for review. Check this box to confirm

@PromoFaux PromoFaux requested a review from a team June 15, 2024 15:58
@PromoFaux PromoFaux changed the title Fix architecture detection for linux/386 images (v5_ Fix architecture detection for linux/386 images Jun 15, 2024
@PromoFaux PromoFaux changed the title (v5_ Fix architecture detection for linux/386 images [v5] Fix architecture detection for linux/386 images Jun 15, 2024
…we're not really on an i386 image to prevent wrong s6 overlay version being downloaded on a 32 bit image

Signed-off-by: Adam Warner <[email protected]>
@PromoFaux PromoFaux merged commit f60e958 into dev Jun 15, 2024
7 checks passed
@PromoFaux PromoFaux deleted the tweak/386-workaround branch June 15, 2024 16:53
truecharts-admin added a commit to truecharts/charts that referenced this pull request Jun 18, 2024
…9b by renovate (#23441)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [pihole/pihole](https://togithub.com/pi-hole/docker-pi-hole) | minor |
`2024.05.0` -> `2024.06.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>pi-hole/docker-pi-hole (pihole/pihole)</summary>

###
[`v2024.06.0`](https://togithub.com/pi-hole/docker-pi-hole/releases/tag/2024.06.0):
(The &quot;I can&#x27;t believe it wasn&#x27;t working on 32-bit
machines for the past year&quot; edition)

[Compare
Source](https://togithub.com/pi-hole/docker-pi-hole/compare/2024.05.0...2024.06.0)

Fixes compatibility with 32-bit (i386/x86/whatever you want to call it)
architecture by ensuring the correct s6-overlay binaries are downloaded.
No other changes for other architectures.

<!-- Release notes generated using configuration in .github/release.yml
at master -->

#### What's Changed

- Remove obsolete "version" value from example docker-compose.yml by
[@&#8203;lemondjeff](https://togithub.com/lemondjeff) in
[pi-hole/docker-pi-hole#1563
- \[v5] Fix architecture detection for linux/386 images by
[@&#8203;PromoFaux](https://togithub.com/PromoFaux) in
[pi-hole/docker-pi-hole#1599

**Full Changelog**:
pi-hole/docker-pi-hole@2024.05.0...2024.06.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDkuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQwOS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->

---------

Signed-off-by: alfi0812 <[email protected]>
Co-authored-by: alfi0812 <[email protected]>
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.

None yet

2 participants