-
rksuma@Ramakrishnans-MacBook-Pro sztab % git checkout wolnosc
Switched to branch 'wolnosc' Your branch is up to date with 'origin/wolnosc'. rksuma@Ramakrishnans-MacBook-Pro sztab % git pull origin wolnosc From https://tigase.dev/sztab * branch wolnosc -> FETCH_HEAD Already up to date. rksuma@Ramakrishnans-MacBook-Pro sztab % git checkout -b fix/rel-1.8-docker-arm64-flyway Switched to a new branch 'fix/rel-1.8-docker-arm64-flyway' rksuma@Ramakrishnans-MacBook-Pro sztab %
| Type |
Bug
|
| Priority |
Blocker
|
| Assignee | |
| Version |
1.8
|
| Sprints |
n/a
|
| Customer |
n/a
|
Issue Votes (0)
Defect:
sztabinafails to build on Apple Silicon (arm64)Release: 1.8
Severity: Blocker
Component: sztabina / Docker
Reported by: Wojciech Kapcia
Reproducible: Yes
Linked defect: Backend Flyway migration syntax error (Rel 1.8)
Environment
Observed Error
Occurs during Docker build step:
Root Cause
The
sztabinaDockerfile hardcodesGOARCH=amd64, forcing cross-compilation on an arm64 host.This triggers a Go runtime failure when building pure-Go binaries on Apple Silicon.
Expected Behavior
sztabinashould build successfully on both:without requiring manual architecture overrides.
Proposed Fix
Use Docker BuildKit architecture variables instead of hardcoding the target architecture:
This allows Docker to select the correct architecture automatically.
Impact
docker compose up --buildfails on Apple SiliconNotes