babirusa / babirusa-builder
Babirusa Runtime builder
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.1
- knplabs/github-api: ^2.7
- mprzytulski/docker-process: ^1.0
- php-http/guzzle6-adapter: ^1.1
- symfony/console: ^4.0
This package is not auto-updated.
Last update: 2025-03-24 09:51:38 UTC
README
If for some reason, default babirusa runtimes are not enough for you.
E.g. it does not contain PHP extension, or you lambda function requires different PHP version.
You can build your own runtime with babirusa-builder
.
Installation
Easiest way to install babirusa-builder
is to download latest babirusa-builder.phar
from releases page.
babirusa-builder
requires Docker running.
Usage
In this example we make an assumption that you want to build PHP 7.2.5
for aws
platform.
Create custom Dockerfile
$ mkdir aws && touch aws/Dockerfile
Run babirusa-builder to build your runtime
$ ~/Downloads/babirusa-builder.phar -paws -t. 7.2.5
As a result you should see new file php-7.2.5
in your working directory.