From f78f6b4346856c783d17cdf7f48b9fd0ea196875 Mon Sep 17 00:00:00 2001 From: Brian Marks Date: Wed, 20 May 2026 13:04:09 -0400 Subject: [PATCH] ruby parametric: drop linux/amd64 platform pin The Ruby parametric Dockerfile was the only one in `utils/build/docker/` with a `--platform=linux/amd64` pin on its FROM line. The other eight languages (cpp, dotnet, golang, java, nodejs, php, python, rust) all use plain `FROM ` and resolve to the host's native architecture. Under Colima/Apple Silicon, the amd64 pin forces QEMU emulation, and gcc segfaults compiling the msgpack native gem during `bundle install` -- blocking local parametric runs against dd-trace-rb on arm64. The `ruby:3.2.1-bullseye` base image is multi-arch on Docker Hub, so this remains amd64 on CI (`ubuntu-latest` is amd64) and becomes arm64 on Apple Silicon dev machines -- matching the host-arch default already used by every other tracer. Co-Authored-By: Claude Opus 4.7 (1M context) --- utils/build/docker/ruby/parametric/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build/docker/ruby/parametric/Dockerfile b/utils/build/docker/ruby/parametric/Dockerfile index 99e03c77cbd..c50a545aa4e 100644 --- a/utils/build/docker/ruby/parametric/Dockerfile +++ b/utils/build/docker/ruby/parametric/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 ruby:3.2.1-bullseye +FROM ruby:3.2.1-bullseye WORKDIR /app COPY utils/build/docker/ruby/parametric .