Skip to content

Commit aacb8ac

Browse files
authored
Merge pull request #26 from rails/sqlite3
Create SQLite3 feature
2 parents fea3eea + 7598e55 commit aacb8ac

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

features/sqlite3/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SQLite3
2+
3+
Installs needed dependencies for Rails apps using SQLite3.
4+
5+
## Example Usage
6+
7+
```json
8+
"features": {
9+
"ghcr.io/rails/devcontainer/features/sqlite3": {}
10+
}
11+
```
12+
13+
## Options
14+
15+
## Customizations
16+
17+
## OS Support
18+
19+
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed.
20+
21+
`bash` is required to execute the `install.sh` script.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"id": "sqlite3",
3+
"version": "0.1.0",
4+
"name": "SQLite3",
5+
"description": "Installs needed dependencies for Rails apps using SQLite3"
6+
}

features/sqlite3/install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
apt-get update -y && apt-get -y install --no-install-recommends pkg-config libsqlite3-dev sqlite3
2+
3+
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)