2024-05-08 13:12:57 +02:00
|
|
|
FROM devuan/devuan:stable
|
|
|
|
RUN apt update
|
|
|
|
RUN apt install -y curl
|
2024-05-09 16:53:47 +02:00
|
|
|
RUN curl -fsSL https://downloads.svrjs.org/installer/svr.js.installer.linux.20240509.sh > /tmp/installer.sh
|
2024-05-08 13:12:57 +02:00
|
|
|
RUN echo "#!/bin/bash" > /tmp/confirm.sh; echo "echo 0" >> /tmp/confirm.sh; echo "yes" >> /tmp/confirm.sh
|
|
|
|
RUN chmod +x /tmp/confirm.sh
|
|
|
|
RUN /tmp/confirm.sh | bash /tmp/installer.sh
|
|
|
|
RUN rm /tmp/*
|
|
|
|
RUN apt clean
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["svrjs"]
|