Skip to content

Commit 409c896

Browse files
Update pre_commit/Dockerfile
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c6db387 commit 409c896

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pre_commit/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22

33
# Import pre-built ecosystem images to avoid code duplication
44
# These images contain all the native helpers and tools already built
5-
FROM ghcr.io/dependabot/dependabot-updater-gomod AS go_modules
6-
FROM ghcr.io/dependabot/dependabot-updater-bundler AS bundler
5+
ARG GO_MODULES_BASE=ghcr.io/dependabot/dependabot-updater-gomod:latest
6+
FROM ${GO_MODULES_BASE} AS go_modules
77

8-
FROM ghcr.io/dependabot/dependabot-updater-core
8+
ARG BUNDLER_BASE=ghcr.io/dependabot/dependabot-updater-bundler:latest
9+
FROM ${BUNDLER_BASE} AS bundler
910

11+
ARG CORE_BASE=ghcr.io/dependabot/dependabot-updater-core:latest
12+
FROM ${CORE_BASE}
1013
USER root
1114

1215
# Copy Go installation and helpers from go_modules image

0 commit comments

Comments
 (0)