18 lines
532 B
Docker
18 lines
532 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 \
|
|
make \
|
|
g++ \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /workspace
|