mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-19 12:16:37 +00:00
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:
committed by
George T Kramer
parent
ff6ed72302
commit
9fdb36a6ca
+3
-1
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user