Skip to content

Commit 83720f9

Browse files
committed
feat(dependabot): add dependabot configuration for bundler, npm, and docker updates
refactor(dockerfile): parameterize Ruby, Node, and Bundler versions for flexibility chore: remove renovate configuration in favor of dependabot
1 parent c1e7177 commit 83720f9

3 files changed

Lines changed: 34 additions & 22 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
FROM ruby:3.3-bookworm
1+
ARG RUBY_VERSION=3.3
2+
ARG NODE_VERSION=20
3+
ARG BUNDLER_VERSION=2.3.25
4+
5+
FROM ruby:${RUBY_VERSION}-bookworm
6+
7+
ARG NODE_VERSION
8+
ARG BUNDLER_VERSION
29

310
RUN apt-get update && apt-get install -y --no-install-recommends \
411
curl \
@@ -9,11 +16,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
916
sudo \
1017
&& rm -rf /var/lib/apt/lists/*
1118

12-
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
19+
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
1320
&& apt-get install -y --no-install-recommends nodejs \
1421
&& rm -rf /var/lib/apt/lists/*
1522

16-
RUN gem install bundler:2.3.25
23+
RUN gem install bundler:${BUNDLER_VERSION}
1724

1825
ARG USERNAME=vscode
1926
ARG USER_UID=1000

.github/dependabot.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "bundler"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
groups:
9+
ruby-deps:
10+
patterns: ["*"]
11+
12+
- package-ecosystem: "npm"
13+
directory: "/scripts/og-image-gen"
14+
schedule:
15+
interval: "weekly"
16+
day: "monday"
17+
groups:
18+
js-deps:
19+
patterns: ["*"]
20+
21+
- package-ecosystem: "docker"
22+
directory: "/.devcontainer"
23+
schedule:
24+
interval: "monthly"

.github/renovate.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)