Skip to content

Commit

Permalink
feat: Add Alpine PHP FTP devcontainer feature
Browse files Browse the repository at this point in the history
  • Loading branch information
cirolosapio committed Apr 26, 2024
1 parent d54c16c commit c6b8498
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- [alpine-patch](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-patch)
- [alpine-pgsql-client](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-pgsql-client)
- [alpine-php-composer](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-composer)
- [alpine-php-ftp](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-ftp)
- [alpine-php-gd](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-gd)
- [alpine-php-intl](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-intl)
- [alpine-php-magento](https://github.com/cirolosapio/devcontainers-features/pkgs/container/devcontainers-features%2Falpine-php-magento)
Expand Down
20 changes: 20 additions & 0 deletions src/alpine-php-ftp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# alpine-php-ftp (alpine-php-ftp)

Installs ftp extension for php on alpine

## Example Usage

```json
"features": {
"ghcr.io/cirolosapio/devcontainers-features/alpine-php-ftp:0": {}
}
```





---

_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/cirolosapio/devcontainers-features/blob/main/src/alpine-php-ftp/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
7 changes: 7 additions & 0 deletions src/alpine-php-ftp/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "alpine-php-ftp",
"id": "alpine-php-ftp",
"version": "0.0.1",
"description": "Installs ftp extension for php on alpine",
"documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-php-ftp"
}
9 changes: 9 additions & 0 deletions src/alpine-php-ftp/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

set -e

echo "Activating feature 'alpine-ftp-pcntl'"

docker-php-ext-install ftp

echo 'Done!'

0 comments on commit c6b8498

Please sign in to comment.