mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-07 06:04:31 +00:00
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:
committed by
William Douglas
parent
f9cec14591
commit
edfe34df31
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user