From 94f4d6bd08efe4a7aa6cabf1bde1d2f716553e6f Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Mon, 17 Jul 2023 22:52:41 +0200 Subject: [PATCH] packaging: fix Dockerfile to support dependabot updates (#2469) Dependabot does not update ARG instruction and updates only the first FROM instruction, see https://github.com/dependabot/dependabot-core/issues/2057 This change uses workaround described here https://github.com/dependabot/dependabot-core/issues/2057#issuecomment-1351660410 Signed-off-by: Alexander Yastrebov --- packaging/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/Dockerfile b/packaging/Dockerfile index ce60d6a953..09cc5f8788 100644 --- a/packaging/Dockerfile +++ b/packaging/Dockerfile @@ -1,4 +1,5 @@ -ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3:latest@sha256:2924ef858efe1025d8f4094b1e3ee6f86db2d3e211052c06e0c8afb86643d46a +ARG BASE_IMAGE=default +FROM registry.opensource.zalan.do/library/alpine-3:latest@sha256:2924ef858efe1025d8f4094b1e3ee6f86db2d3e211052c06e0c8afb86643d46a AS default FROM ${BASE_IMAGE} LABEL maintainer="Team Gateway&Proxy @ Zalando SE " RUN apk --no-cache add ca-certificates && update-ca-certificates