Compare commits
2
Commits
e7097fb422
...
400f2fb3df
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
400f2fb3df | ||
|
|
53dd127965 |
+15
-6
@@ -2,9 +2,18 @@ FROM texlive/texlive@sha256:a7ae4dfa9d521b5db14446872fa488b839021d1f604d0a3c7446
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get update
|
||||
&& apt-get install -y --no-install-recommends nodejs
|
||||
&& node --version
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER 1000:1000
|
||||
# Install Node.js 20 for JavaScript-based Gitea Actions,
|
||||
# along with Git and other required utilities.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
bash \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_20.x \
|
||||
-o /tmp/nodesource_setup.sh \
|
||||
&& bash /tmp/nodesource_setup.sh \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& node --version \
|
||||
&& git --version \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/nodesource_setup.sh
|
||||
Reference in New Issue
Block a user