From 684dfb16cae9c9ebe20eb581f01117ad68ac0cfd Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Fri, 27 Feb 2026 03:06:41 +0000 Subject: [PATCH] revert changes. --- Dockerfile | 13 +++---------- README.md | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80e64c5..52aec4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,16 +17,9 @@ RUN apt-get update -y && \ apt-get upgrade -y && \ apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb -# Installing Node.js with nvm -ENV NVM_DIR=/root/.nvm -RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \ - . "$NVM_DIR/nvm.sh" && \ - nvm install 24 && \ - nvm use 24 && \ - nvm alias default 24 && \ - ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/node" /usr/local/bin/node && \ - ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/npm" /usr/local/bin/npm && \ - ln -sf "$NVM_DIR/versions/node/$(nvm version)/bin/npx" /usr/local/bin/npx +# Installing Node.js +RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ + apt-get install -y nodejs # Finished installing Node.js #Installing Docker diff --git a/README.md b/README.md index 9508d24..8169373 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Ubuntu 22.04 Gitea Runner Worker -## Version 1.2.3 \ No newline at end of file +## Version 1.2.4 \ No newline at end of file