Skip to content

Commit

Permalink
wip: Here we go
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Mar 22, 2024
1 parent 445bafc commit 462e854
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/features.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Features
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Publish Features"
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./features"
11 changes: 11 additions & 0 deletions features/install-php-extensions/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "install-php-extensions",
"version": "0.1.225",
"name": "install-php-extensions",
"options": {
"extensions": {
"type": "string",
"default": ""
}
}
}
7 changes: 7 additions & 0 deletions features/install-php-extensions/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
curl -sSLf \
-o /usr/local/bin/install-php-extensions \
https://github.com/mlocati/docker-php-extension-installer/releases/download/2.2.5/install-php-extensions
chmod +x /usr/local/bin/install-php-extensions
install-php-extensions "$EXTENSIONS"

0 comments on commit 462e854

Please sign in to comment.