Add -b to swupd update to avoid cbm errors

No bootloader update necessary in containers so add -b part of Dockerfile. 
Add ARG swupd_args.
This commit is contained in:
puneetse
2019-05-01 09:12:46 -07:00
committed by George T Kramer
parent ff6ed72302
commit 9fdb36a6ca
+3 -1
View File
@@ -1,9 +1,11 @@
FROM clearlinux:latest
MAINTAINER bin.yang@intel.com
ARG swupd_args
COPY default.conf /etc/nginx/conf.d/default.conf
RUN swupd update $swupd_args && \
RUN swupd update --no-boot-update $swupd_args && \
swupd bundle-add nginx $swupd_args && \
rm -rf /var/lib/swupd && \
mkdir -p /var/log/nginx && \