Change Dockerfile to install SVR.JS LTS version

This commit is contained in:
Dorian Niemiec 2024-05-08 13:23:22 +02:00
parent a93ee1f0c8
commit 27e6b15f78

View file

@ -2,7 +2,7 @@ FROM devuan/devuan:stable
RUN apt update RUN apt update
RUN apt install -y curl RUN apt install -y curl
RUN curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240506.sh > /tmp/installer.sh RUN curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240506.sh > /tmp/installer.sh
RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 0" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 1" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
RUN chmod +x /tmp/confirm.sh RUN chmod +x /tmp/confirm.sh
RUN /tmp/confirm.sh | bash /tmp/installer.sh RUN /tmp/confirm.sh | bash /tmp/installer.sh
RUN rm /tmp/* RUN rm /tmp/*