21 lines
546 B
Docker
21 lines
546 B
Docker
FROM docker:27-cli
|
|||
|
|
|
||
|
|
# Install Node.js + build essentials (needed for GitHub Actions checkout@v4, etc.)
|
||
|
|
RUN apt-get update && \
|
||
|
|
apt-get install -y --no-install-recommends \
|
||
|
|
nodejs \
|
||
|
|
npm \
|
||
|
|
git \
|
||
|
|
curl \
|
||
|
|
ca-certificates \
|
||
|
|
build-essential \
|
||
|
|
python3 && \
|
||
|
|
rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
# Install Rust
|
||
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
||
|
|
. $HOME/.cargo/env
|
||
|
|
|
||
|
|
# Verify installations
|
||
|
|
RUN docker --version && node --version && git --version && rustc --version
|