From ff7b7ea9a70dc65c3fa859e600900dca51cc8aa9 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 12 Jul 2018 02:42:16 +0000 Subject: [PATCH] optimized os rebuild --- os/platforms/v1/Dockerfile.part | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/os/platforms/v1/Dockerfile.part b/os/platforms/v1/Dockerfile.part index 4772709b..fdb437cb 100644 --- a/os/platforms/v1/Dockerfile.part +++ b/os/platforms/v1/Dockerfile.part @@ -3,9 +3,12 @@ ENV KVMD_VERSION $KVMD_VERSION RUN echo $KVMD_VERSION RUN pkg-install \ - kvmd \ - mjpg-streamer-pikvm \ - nginx + nginx \ + mjpg-streamer-pikvm +RUN systemctl enable nginx + +RUN pkg-install kvmd +RUN systemctl enable kvmd COPY stages/pikvm/config.txt /boot/ COPY stages/pikvm/sysctl.conf /etc/sysctl.d/99-pikvm.conf @@ -17,6 +20,3 @@ RUN systemctl mask serial-getty@ttyAMA0.service RUN cp /usr/share/kvmd/configs/nginx/nginx.conf /etc/nginx/ RUN cp /usr/share/kvmd/configs/kvmd/v1.yaml /etc/kvmd.yaml - -RUN systemctl enable kvmd -RUN systemctl enable nginx