-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from rails/mysql-client-feature
Create a feature for mysql client dependencies
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# MySQL Client | ||
|
||
Installs needed client-side dependencies for Rails apps using MySQL. | ||
|
||
NOTE: This feature does not install the dependencies needed for the MySQL Server. For that we recommend running a | ||
service using the official [MySQL docker image](https://hub.docker.com/_/mysql). | ||
|
||
## Example Usage | ||
|
||
```json | ||
"features": { | ||
"ghcr.io/rails/devcontainer/features/mysql-client": {} | ||
} | ||
``` | ||
|
||
## Options | ||
|
||
## Customizations | ||
|
||
## OS Support | ||
|
||
This Feature should work on recent versions of Debian/Ubuntu-based distributions with the `apt` package manager installed. | ||
|
||
`bash` is required to execute the `install.sh` script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"id": "mysql-client", | ||
"version": "0.1.0", | ||
"name": "MySQL Client", | ||
"description": "Installs needed client-side dependencies for Rails apps using MySQL" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
apt-get update -y && apt-get -y install --no-install-recommends default-libmysqlclient-dev | ||
|
||
rm -rf /var/lib/apt/lists/* |