uptime-kuma/test/test_install_script/ubuntu1604.dockerfile

11 lines
333 B
Plaintext
Raw Normal View History

2021-08-18 06:55:03 +00:00
FROM ubuntu:16.04
RUN apt-get update
RUN apt --yes install curl
2021-08-18 06:55:03 +00:00
2021-08-18 18:04:49 +00:00
# Test invalid node version, these commands install nodejs 10
#RUN apt --yes install nodejs
2021-08-18 18:04:49 +00:00
# RUN ln -s /usr/bin/nodejs /usr/bin/node
# RUN node -v
RUN curl -o kuma_install.sh http://git.kuma.pet/install.sh && bash kuma_install.sh local /opt/uptime-kuma 3000 0.0.0.0