File tree Expand file tree Collapse file tree 2 files changed +41
-3
lines changed
Expand file tree Collapse file tree 2 files changed +41
-3
lines changed Original file line number Diff line number Diff line change 1+ # Dependabot configuration for automated version updates
2+ # Documentation: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+ #
4+ # Best Practices:
5+ # - Dependabot always targets the default branch (main)
6+ # - PRs are created for version updates (never pushes directly)
7+ # - Use branch protection rules to prevent direct pushes to main
8+ # - Group updates to reduce PR noise
9+
10+ version : 2
11+ updates :
12+ # Update Docker base images (Debian)
13+ - package-ecosystem : " docker"
14+ directory : " /"
15+ schedule :
16+ interval : " weekly"
17+ day : " saturday"
18+ time : " 05:22"
19+ timezone : " UTC"
20+ open-pull-requests-limit : 3
21+ labels :
22+ - " dependencies"
23+ - " docker"
24+ - " automated"
25+ commit-message :
26+ prefix : " docker"
27+ include : " scope"
28+ reviewers :
29+ - " hungrybluedev"
30+ # Group all Docker updates together
31+ groups :
32+ docker-images :
33+ patterns :
34+ - " *"
Original file line number Diff line number Diff line change 1- FROM debian:stable-slim
1+ # Pinned versions for reproducibility
2+ # Debian: https://hub.docker.com/_/debian (bookworm = Debian 12)
3+ # Node.js LTS: https://nodejs.org (v24.x = current LTS)
4+ # Docker CLI: Latest stable from official Docker repository
5+ FROM debian:bookworm-20241111-slim
26
37ENV DEBIAN_FRONTEND=noninteractive
48ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
@@ -41,9 +45,9 @@ RUN install -m 0755 -d /etc/apt/keyrings && \
4145 apt-get install -y docker-ce-cli docker-buildx-plugin docker-compose-plugin && \
4246 echo "Docker CLI installed: $(docker --version)"
4347
44- # Install Node.js LTS
48+ # Install Node.js LTS (pinned version)
4549RUN mkdir -p "$AGENT_TOOLSDIRECTORY/node" && \
46- NODE_VERSION=$(curl -s https://nodejs.org/dist/index.json | jq -r '[.[] | select(.lts != false)][0].version' ) && \
50+ NODE_VERSION="v24.11.1" && \
4751 echo "Installing Node.js $NODE_VERSION" && \
4852 NODEPATH="$AGENT_TOOLSDIRECTORY/node/${NODE_VERSION:1}/x64" && \
4953 mkdir -p "$NODEPATH" && \
You can’t perform that action at this time.
0 commit comments