The ci-cpp image was likely built for linux/amd64; the eulernest runner is linux/arm64 (Raspberry Pi), so the container exited immediately without running any steps (task 102 log: 10 lines, no step output). Fix: run directly on the host runner and install cmake/g++ via apt-get (same approach as the previously working workflow). Also pin --platform=linux/arm64 in Dockerfile.ci-cpp so the next image build produces the correct architecture. Once the image is pushed, re-add the container: block to the workflow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
519 B
Docker
17 lines
519 B
Docker
FROM --platform=linux/arm64 ubuntu:22.04
|
|
|
|
# Node.js 20 from NodeSource (Ubuntu Jammy ships v12 which is too old
|
|
# for actions/checkout@v4 — static class blocks require Node.js >= 16).
|
|
RUN apt-get update -qq && \
|
|
apt-get install -y --no-install-recommends \
|
|
curl ca-certificates && \
|
|
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
apt-get install -y --no-install-recommends \
|
|
nodejs \
|
|
cmake \
|
|
g++ \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /workspace
|