[PR #69] [CLOSED] feat: allow to build for multiarch #454

Closed
opened 2026-04-08 16:52:59 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/69
Author: @jdrouet
Created: 6/21/2022
Status: Closed

Base: mainHead: build-multiarch


📝 Commits (1)

  • 2fa8d81 feat: allow to build for multiarch

📊 Changes

1 file changed (+30 additions, -7 deletions)

View changed files

📝 Dockerfile (+30 -7)

📄 Description

This removes the dependence on the architecture in the dockerfile.
There is now a new step to fetch the dependencies before doing the
build to mutualize dependency fetching when building multi arch images.

it's now possible to build for multiple architecture using

docker buildx build --platform linux/amd64,linux/arm64 ...

Signed-off-by: Jérémie Drouet jeremie.drouet@gmail.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/69 **Author:** [@jdrouet](https://github.com/jdrouet) **Created:** 6/21/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `build-multiarch` --- ### 📝 Commits (1) - [`2fa8d81`](https://github.com/sigoden/dufs/commit/2fa8d81d059e49124fd517c2dd89ff80663e553a) feat: allow to build for multiarch ### 📊 Changes **1 file changed** (+30 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+30 -7) </details> ### 📄 Description This removes the dependence on the architecture in the dockerfile. There is now a new step to fetch the dependencies before doing the build to mutualize dependency fetching when building multi arch images. it's now possible to build for multiple architecture using ``` docker buildx build --platform linux/amd64,linux/arm64 ... ``` Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:52:59 +03:00
zhus closed this issue 2026-04-08 16:52:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#454