forked from adobe/react-spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (27 loc) · 792 Bytes
/
Copy pathDockerfile
File metadata and controls
35 lines (27 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Use Ubuntu 24.04 as base
FROM ubuntu:24.04
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV NODE_VERSION=22
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
git \
build-essential \
python3 \
make \
g++ \
ca-certificates \
gnupg \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js 22
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Enable Corepack for Yarn
RUN corepack enable
# Verify installations
RUN node --version && npm --version && yarn --version
# Set working directory (Cloud Agents will manage the actual workspace)
WORKDIR /workspace
# Don't COPY the project - Cloud Agents manages this