mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-01 02:35:02 +00:00
no swupd state data removing in 1st build stage
During the 1st stage build of multi-stage build, when run swupd os-install, the swupd state data are saved to /swupd_state, which will not be copied to the target. So we do not need to remove swupd state data. Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
This commit is contained in:
committed by
Liu, Jianjun
parent
3259d3bab3
commit
8710d447d3
+1
-2
@@ -15,8 +15,7 @@ RUN source /os-release && \
|
||||
mkdir /install_root \
|
||||
&& swupd os-install -V ${VERSION_ID} \
|
||||
--path /install_root --statedir /swupd-state \
|
||||
--bundles=httpd --no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
--bundles=httpd --no-boot-update
|
||||
|
||||
# For some Host OS configuration with redirect_dir on,
|
||||
# extra data are saved on the upper layer when the same
|
||||
|
||||
Reference in New Issue
Block a user