#6200·proxysql

docker-base: stop hardcoding orchestrator-client amd64.deb

Author: renecannaoCreated Sep 17, 2026Updated Sep 17, 2026

Problem

test/infra/docker-base/Dockerfile installs Orchestrator with a hardcoded amd64 package:

bash
wget https://github.com/proxysql/orchestrator/releases/download/v4.31.1/orchestrator-client_4.31.1_amd64.deb

Building proxysql-ci-base:latest on arm64 fails:

dpkg: error processing archive /tmp/orc.deb (--unpack):
 package architecture (amd64) does not match system (arm64)

That blocks ensure-infras.bash / TAP on Apple Silicon.

What we want

Do not hardcode amd64 or a pinned version in the Dockerfile.

Use an installer that:

  • detects the image architecture (dpkg --print-architecture / uname -m)
  • installs the latest orchestrator-client

Orchestrator does not currently ship such a script. Requested in ProxySQL/orchestrator#130.

Until that installer exists, a minimal fix is still better than hardcoding amd64: pick amd64 vs arm64 from dpkg --print-architecture and download the matching .deb. Latest vs pinned version can follow once #130 lands.

Seen on

macOS arm64, docker build --network host -t proxysql-ci-base:latest . from test/infra/docker-base as documented in test/infra/README.md.