mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 11:42:03 +08:00
wip: implementing install script
This commit is contained in:
4
test/test_install_script/alpine3.dockerfile
Normal file
4
test/test_install_script/alpine3.dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM alpine:3
|
||||
RUN apk add --update nodejs npm git
|
||||
COPY ./install.sh .
|
||||
RUN /bin/sh install.sh local /opt/uptime-kuma 3000 0.0.0.0
|
10
test/test_install_script/debian.dockerfile
Normal file
10
test/test_install_script/debian.dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM debian
|
||||
|
||||
# Test invalid node version, these commands install nodejs 10
|
||||
# RUN apt-get update
|
||||
# RUN apt --yes install nodejs
|
||||
# RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
# RUN node -v
|
||||
|
||||
COPY ./install.sh .
|
||||
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0
|
10
test/test_install_script/ubuntu.dockerfile
Normal file
10
test/test_install_script/ubuntu.dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM ubuntu
|
||||
|
||||
# Test invalid node version, these commands install nodejs 10
|
||||
# RUN apt-get update
|
||||
# RUN apt --yes install nodejs
|
||||
# RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
# RUN node -v
|
||||
|
||||
COPY ./install.sh .
|
||||
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0
|
@@ -1,4 +1,10 @@
|
||||
FROM ubuntu:16.04
|
||||
|
||||
# Test invalid node version, these commands install nodejs 10
|
||||
RUN apt-get update
|
||||
RUN apt --yes install nodejs
|
||||
# RUN ln -s /usr/bin/nodejs /usr/bin/node
|
||||
# RUN node -v
|
||||
|
||||
COPY ./install.sh .
|
||||
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0
|
||||
|
Reference in New Issue
Block a user