From 9fdb36a6caf5e009037599307e1cbd828fa4d87c Mon Sep 17 00:00:00 2001 From: puneetse <22071208+puneetse@users.noreply.github.com> Date: Wed, 1 May 2019 09:12:46 -0700 Subject: [PATCH] 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. --- nginx/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 1ced53a..4f0a86b 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -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 && \