[PR #1985] [MERGED] Docker multi-arch base #16160

Closed
opened 2025-11-02 12:03:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1985
Author: @sapk
Created: 6/16/2017
Status: Merged
Merged: 11/16/2017
Merged by: @lafriks

Base: masterHead: docker-multi-arch-base


📝 Commits (10+)

  • ff6d4e3 Create docker/manifest/base.yml
  • f81462f Add make task docker-multi-arch-push-manifest
  • 1d4f2a5 Use SED_INPLACE generic sed command
  • 9fcff86 Delete Dockerfile.aarch64
  • 6b3cfd4 Use gitea/gitea-base as base
  • 570acab Fix rebase
  • 1bb7f50 Use sapk/gitea-base as base
  • de9911b Split makefile for docker
  • ce906b2 Fix version to v3.6
  • 1f5c252 Remove sapk/gitea-base and use directly new official alpine multi-arch

📊 Changes

5 files changed (+13 additions, -91 deletions)

View changed files

📝 Dockerfile (+0 -1)
Dockerfile.aarch64 (+0 -43)
Dockerfile.rpi (+0 -41)
📝 Makefile (+2 -6)
docker/Makefile (+11 -0)

📄 Description

This PR permit to have only one Dockerfile that is buildable on most platform (386,amd64,arm,arm64) since it will use a multi-arch image as a base.

For this to work, we need a multi-arch image (gitea/gitea-base) that can be published via make docker-multi-arch-push-manifest with default params (DOCKER_MANIFEST ?= docker/manifest/base.yml) by any one that have acces to docker hub gitea account.

For testing purpose you could use sapk/gitea-base as a base. (made with DOCKER_IMAGE=sapk/gitea make docker-multi-arch-push-manifest).

First part of #1615


🔄 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/go-gitea/gitea/pull/1985 **Author:** [@sapk](https://github.com/sapk) **Created:** 6/16/2017 **Status:** ✅ Merged **Merged:** 11/16/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `docker-multi-arch-base` --- ### 📝 Commits (10+) - [`ff6d4e3`](https://github.com/go-gitea/gitea/commit/ff6d4e384f8cea158c2b6195627924e48f56ac83) Create docker/manifest/base.yml - [`f81462f`](https://github.com/go-gitea/gitea/commit/f81462f8c84f2c61f21621680a6fdc2d1fb7bb34) Add make task docker-multi-arch-push-manifest - [`1d4f2a5`](https://github.com/go-gitea/gitea/commit/1d4f2a52e64e1698446681a6dda747cffe2ac025) Use SED_INPLACE generic sed command - [`9fcff86`](https://github.com/go-gitea/gitea/commit/9fcff8614e8f349cb129c3404b333020e51754d3) Delete Dockerfile.aarch64 - [`6b3cfd4`](https://github.com/go-gitea/gitea/commit/6b3cfd4af8cb8a7afaa94bba76e5ee9271db6ef3) Use gitea/gitea-base as base - [`570acab`](https://github.com/go-gitea/gitea/commit/570acab59b0d8433f72f97fb243389b875eb295d) Fix rebase - [`1bb7f50`](https://github.com/go-gitea/gitea/commit/1bb7f50f6adf4307b1921952833aa1688f64eb04) Use sapk/gitea-base as base - [`de9911b`](https://github.com/go-gitea/gitea/commit/de9911bf2164968d7dbdfadffc4a740be98aa691) Split makefile for docker - [`ce906b2`](https://github.com/go-gitea/gitea/commit/ce906b2e38c18b43803e0cce75f0a4b4a3101bba) Fix version to v3.6 - [`1f5c252`](https://github.com/go-gitea/gitea/commit/1f5c252a135a3c310a67dc40e4bc6e848fd8df28) Remove sapk/gitea-base and use directly new official alpine multi-arch ### 📊 Changes **5 files changed** (+13 additions, -91 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+0 -1) ➖ `Dockerfile.aarch64` (+0 -43) ➖ `Dockerfile.rpi` (+0 -41) 📝 `Makefile` (+2 -6) ➕ `docker/Makefile` (+11 -0) </details> ### 📄 Description This PR permit to have only one Dockerfile that is buildable on most platform (386,amd64,arm,arm64) since it will use a multi-arch image as a base. For this to work, we need a multi-arch image (gitea/gitea-base) that can be published via `make docker-multi-arch-push-manifest` with default params (`DOCKER_MANIFEST ?= docker/manifest/base.yml`) by any one that have acces to docker hub gitea account. For testing purpose you could use sapk/gitea-base as a base. (made with DOCKER_IMAGE=sapk/gitea make docker-multi-arch-push-manifest). First part of #1615 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:03:39 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16160