summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-12 02:42:16 +0000
committerDevaev Maxim <[email protected]>2018-07-12 02:42:16 +0000
commitff7b7ea9a70dc65c3fa859e600900dca51cc8aa9 (patch)
tree49df88ef2f9d0b89fe0128791108caf1b4d2a7b9 /os
parent44a31ca0edf9fe88e01c76efc521ca22eeea7bf7 (diff)
optimized os rebuild
Diffstat (limited to 'os')
-rw-r--r--os/platforms/v1/Dockerfile.part12
1 files 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 [email protected]
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