4paradigm / 4paradigm/OpenMLDB

feat: taxi docker demo support for arm

Offen
#1,138 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @aceforeverd Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C++
Sterne
1.7k
Forks
331
Ø Merge
12 T. 12 Std.
Gemergte PRs (30 T.)
1

Beschreibung

## Problem

there's problem running x86 docker image on M1 mac, see #140. So best solution is run in arm image.

there is experimental image for openmldb release 0.2.0, see #194. However that was a hacked version, which means the thirdparty, openmldb and spark compiled for arm64 is not reproducible.

Here we need a more generalized solution for arm64 demo image. Make it reproducible 😮

## Solution

Based on previous work, I list a rough TODO list

- [x] base compile image (arm64) to compile thirdparty [hybridsql-base](https://github.com/4paradigm/hybridsql-asserts/pkgs/container/hybridsql-base)
- [ ] arm64 pre-compiled thirdparty
- [ ] zetasql arm64 pre-compiled
- [ ] openmldb compile image for arm64 (hybridsql)
- [ ] openmldb release package for arm64
- [ ] openmldb spark distribution compiled for arm64
- [ ] openmldb taxi demo docker image for arm64

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue outlines a multi-step build process for ARM64 Docker images. Start by examining the existing Dockerfiles and build scripts in the repository, particularly those referenced in issues #140 and #194. The work involves compiling third-party dependencies, zetasql, OpenMLDB itself, and a Spark distribution for ARM64, then assembling the final demo image. Success means creating reproducible build artifacts and a working 'taxi demo' Docker image for ARM64 platforms.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, spark
Bereich
build-system, devops, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.