Docker 2
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
|||||||
|
FROM texlive/texlive@sha256:a7ae4dfa9d521b5db14446872fa488b839021d1f604d0a3c74461784895f2a67
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
# 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