diff options
Diffstat (limited to 'os/platforms/v1/Dockerfile.part')
-rw-r--r-- | os/platforms/v1/Dockerfile.part | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/os/platforms/v1/Dockerfile.part b/os/platforms/v1/Dockerfile.part index b66d52bf..b317eb84 100644 --- a/os/platforms/v1/Dockerfile.part +++ b/os/platforms/v1/Dockerfile.part @@ -19,9 +19,12 @@ RUN sed -i -e "s/console=ttyAMA0\,115200//g" /boot/cmdline.txt \ && sed -i -e "s/kgdboc=ttyAMA0\,115200//g" /boot/cmdline.txt RUN systemctl mask [email protected] -RUN cp /usr/share/kvmd/configs/nginx/nginx.conf.example /etc/nginx/ +RUN cp /usr/share/kvmd/configs/nginx/nginx.conf.example /etc/nginx/nginx.conf RUN cp /usr/share/kvmd/configs/kvmd/v1.yaml /etc/kvmd.yaml +ARG NEW_HTTPS_CERT +ENV NEW_HTTPS_CERT $NEW_HTTPS_CERT +RUN echo $NEW_HTTPS_CERT RUN mkdir /etc/nginx/ssl \ && cd /etc/nginx/ssl \ && openssl req -new -x509 -nodes -newkey rsa:4096 -keyout server.key -out server.crt -days 3650 \ |