Clean up machine-learning-ui RUN commands

Squashing all RUN commands together to ensure they create a single
docker layer resulting in a smaller overall image size.

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
This commit is contained in:
Rusty Lynch
2019-07-22 10:16:52 -07:00
committed by William Douglas
parent f9cec14591
commit edfe34df31
+3 -4
View File
@@ -3,10 +3,9 @@ MAINTAINER william.douglas@intel.com
ARG swupd_args
RUN swupd update $swupd_args
RUN swupd bundle-add machine-learning-web-ui
RUN rm -rf /var/lib/swupd
RUN swupd update --no-boot-update $swupd_args \
&& swupd bundle-add machine-learning-web-ui \
&& rm -rf /var/lib/swupd/*
EXPOSE 8888