linux - run temp nginx to solve let's encrypt challenges

This commit is contained in:
bunkerity
2021-08-17 10:24:40 +02:00
parent 6c8bc6b349
commit a28f06f08f
2 changed files with 21 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
FROM ubuntu:focal
RUN apt update && apt install -y systemd
RUN apt update && apt install -y systemd init
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\