Skip to content

Commit ef42226

Browse files
committed
Make sure the devcontainer can install all gems
1 parent dcf050b commit ef42226

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM ghcr.io/rails/devcontainer/images/ruby:3.3.5

.devcontainer/devcontainer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
{
44
"name": "solid_queue",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "ghcr.io/rails/devcontainer/images/ruby:3.3.5",
6+
"build": {
7+
"dockerfile": "Dockerfile"
8+
},
79
// Features to add to the dev container. More info: https://containers.dev/features.
810
"features": {
911
"ghcr.io/devcontainers/features/github-cli:1": {
1012
"version": "latest"
11-
}
13+
},
14+
"ghcr.io/rails/devcontainer/features/postgres-client": {
15+
"version": "15"
16+
},
17+
"ghcr.io/rails/devcontainer/features/mysql-client": {}
1218
}
1319
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1420
// "forwardPorts": [],
@@ -18,4 +24,4 @@
1824
// "customizations": {},
1925
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2026
// "remoteUser": "root"
21-
}
27+
}

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ GEM
8787
loofah (2.23.1)
8888
crass (~> 1.0.2)
8989
nokogiri (>= 1.12.0)
90-
mini_portile2 (2.8.8)
9190
minitest (5.25.4)
9291
mocha (2.1.0)
9392
ruby2_keywords (>= 0.0.5)
@@ -174,8 +173,10 @@ GEM
174173
ruby-progressbar (1.13.0)
175174
ruby2_keywords (0.0.5)
176175
securerandom (0.4.1)
177-
sqlite3 (1.5.4)
178-
mini_portile2 (~> 2.8.0)
176+
sqlite3 (2.7.3-aarch64-linux-gnu)
177+
sqlite3 (2.7.3-arm64-darwin)
178+
sqlite3 (2.7.3-x86_64-darwin)
179+
sqlite3 (2.7.3-x86_64-linux-gnu)
179180
stringio (3.1.2)
180181
thor (1.3.2)
181182
timeout (0.4.3)

0 commit comments

Comments
 (0)