Skip to content

Commit

Permalink
packaging: fix Dockerfile to support dependabot updates (#2469)
Browse files Browse the repository at this point in the history
Dependabot does not update ARG instruction and updates only the first FROM instruction, see dependabot/dependabot-core#2057
This change uses workaround described here dependabot/dependabot-core#2057 (comment)

Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov authored Jul 17, 2023
1 parent a5f90bf commit 94f4d6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
RUN apk --no-cache add ca-certificates && update-ca-certificates
Expand Down

0 comments on commit 94f4d6b

Please sign in to comment.