Skip to content

Commit

Permalink
packaging: use latest label in Dockerfile
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 <alexander.yastrebov@zalando.de>
  • Loading branch information
AlexanderYastrebov committed Aug 31, 2023
1 parent ff6afc5 commit 20facf6
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 <team-gwproxy@zalando.de>"
RUN apk --no-cache add ca-certificates && update-ca-certificates
Expand Down

0 comments on commit 20facf6

Please sign in to comment.