We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6db387 commit 409c896Copy full SHA for 409c896
pre_commit/Dockerfile
@@ -2,11 +2,14 @@
2
3
# Import pre-built ecosystem images to avoid code duplication
4
# 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
+ARG GO_MODULES_BASE=ghcr.io/dependabot/dependabot-updater-gomod:latest
+FROM ${GO_MODULES_BASE} AS go_modules
7
8
-FROM ghcr.io/dependabot/dependabot-updater-core
+ARG BUNDLER_BASE=ghcr.io/dependabot/dependabot-updater-bundler:latest
9
+FROM ${BUNDLER_BASE} AS bundler
10
11
+ARG CORE_BASE=ghcr.io/dependabot/dependabot-updater-core:latest
12
+FROM ${CORE_BASE}
13
USER root
14
15
# Copy Go installation and helpers from go_modules image
0 commit comments