Skip to content

Commit

Permalink
packaging: use latest label in Dockerfile (#2554)
Browse files Browse the repository at this point in the history
Dependabot fails to update registry.opensource.zalan.do/library/alpine-3 base image hash,
see dependabot/dependabot-core#7387

This change removes image hash and re-introduces latest label.
For multiarch and ghcr.io builds base image is specified via BASE_IMAGE build argument and also uses latest label.

Followup on #2546

Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov authored Sep 1, 2023
1 parent b6f0d65 commit 62b8dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BASE_IMAGE=default
FROM registry.opensource.zalan.do/library/alpine-3@sha256:2213d4d74c39af5313b631cbde2630b4007755b280f0f6b98867f66103b76113 AS default
FROM registry.opensource.zalan.do/library/alpine-3:latest 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 62b8dd1

Please sign in to comment.