From 897834a9db9a5769662e1512b1c72919d83e42f2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Mon, 14 Dec 2020 11:17:07 +0100 Subject: [PATCH] Temporarily workaround alpine issue Until a new alpine image is created, we should ensure the latest packages are used, and therefore we should upgrade default installed packages. Without this patch, we'll have outdated and vulnerable packages until a new 3.12 image is released. This is a problem, as we'll publish broken images. This should temporarily workaround it, at the expense of larger images (contains package cache) --- cmd/kured/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kured/Dockerfile b/cmd/kured/Dockerfile index 6ba08e1..045d293 100644 --- a/cmd/kured/Dockerfile +++ b/cmd/kured/Dockerfile @@ -1,4 +1,4 @@ FROM alpine:3.12 -RUN apk add --no-cache ca-certificates tzdata +RUN apk update --no-cache && apk upgrade --no-cache && apk add --no-cache ca-certificates tzdata COPY ./kured /usr/bin/kured ENTRYPOINT ["/usr/bin/kured"]