Skip to content

Commit 51a2e7c

Browse files
Add Bundler feature
1 parent 2045afb commit 51a2e7c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

src/bundler/devcontainer-feature.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "Bundler",
3+
"id": "bundler",
4+
"version": "1.0.0",
5+
"description": "Configure a mounted volume for Bundler.",
6+
"containerEnv": {
7+
"BUNDLE_PATH": "/usr/local/bundle"
8+
},
9+
"installsAfter": [
10+
"ghcr.io/devcontainers/features/common-utils"
11+
],
12+
"mounts": [
13+
{
14+
"source": "bundler-cache",
15+
"target": "/usr/local/bundle",
16+
"type": "volume"
17+
}
18+
],
19+
"postCreateCommand": "sudo chown -R ${USER}:${USER} /usr/local/bundle"
20+
}

src/bundler/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env sh
2+
3+
# noop

0 commit comments

Comments
 (0)