Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
400f2fb3df | ||
|
|
53dd127965 |
+15
-6
@@ -2,9 +2,18 @@ FROM texlive/texlive@sha256:a7ae4dfa9d521b5db14446872fa488b839021d1f604d0a3c7446
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apt-get update
|
# Install Node.js 20 for JavaScript-based Gitea Actions,
|
||||||
&& apt-get install -y --no-install-recommends nodejs
|
# along with Git and other required utilities.
|
||||||
&& node --version
|
RUN apt-get update \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates \
|
||||||
USER 1000:1000
|
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