Add Node.js for Gitea Actions
This commit is contained in:
@@ -21,10 +21,15 @@ RUN apt-get update \
|
|||||||
unzip \
|
unzip \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
|
&& apt-get install -y --no-install-recommends nodejs \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN python3 -m pip install --no-cache-dir "mbed-cli==1.10.5"
|
RUN python3 -m pip install --no-cache-dir "mbed-cli==1.10.5"
|
||||||
|
|
||||||
RUN arm-none-eabi-gcc --version \
|
RUN arm-none-eabi-gcc --version \
|
||||||
&& python3 --version \
|
&& python3 --version \
|
||||||
|
&& node --version \
|
||||||
&& mbed --version
|
&& mbed --version
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Installed tools:
|
|||||||
|
|
||||||
- Ubuntu 20.04
|
- Ubuntu 20.04
|
||||||
- Python 3
|
- Python 3
|
||||||
|
- Node.js 20
|
||||||
- `mbed-cli==1.10.5`
|
- `mbed-cli==1.10.5`
|
||||||
- `gcc-arm-none-eabi` from Ubuntu 20.04 packages
|
- `gcc-arm-none-eabi` from Ubuntu 20.04 packages
|
||||||
- `make`, `patch`, `git`, `mercurial`, `curl`, `unzip`
|
- `make`, `patch`, `git`, `mercurial`, `curl`, `unzip`
|
||||||
|
|||||||
Reference in New Issue
Block a user