install.sh add supports for CentOS

This commit is contained in:
LouisLam
2021-08-18 14:55:03 +08:00
parent d218661f3d
commit 269ac2410b
5 changed files with 158 additions and 34 deletions

View File

@@ -1,9 +1,4 @@
FROM centos:7
RUN useradd -ms /bin/bash test_user
USER test_user
WORKDIR /home/test_user
COPY ./install.sh .
RUN ls
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0

View File

@@ -0,0 +1,4 @@
FROM centos:8
COPY ./install.sh .
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0

View File

@@ -0,0 +1,4 @@
FROM ubuntu:16.04
COPY ./install.sh .
RUN bash install.sh local /opt/uptime-kuma 3000 0.0.0.0