summaryrefslogtreecommitdiff
path: root/os/platforms
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-09 04:53:12 +0300
committerDevaev Maxim <[email protected]>2018-08-09 04:53:12 +0300
commit6f9f7455888b4132e5dca6762aee4c395f6b43fa (patch)
tree0e7296159f25eaefb22f2ecf3a8b2a415dd0c512 /os/platforms
parentcf4f414b5fc8602a9bd271794468a8ff505e1e60 (diff)
fixed path to nginx.conf
Diffstat (limited to 'os/platforms')
-rw-r--r--os/platforms/v1/Dockerfile.part5
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 \