cdue / composer

Simple and light Docker image base on composer/composer (alpine) and containing soap extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

composer

Docker image base on composer/composer (alpine) and containing soap and xdebug extensions. This images includes composer 2.0.7 and PHP 7.4. If you need to use older PHP version, you may want to check the 2.0.7-php7.3 branch.

Build Docker image

Simple build

Run:

docker build -t cdue/composer:latest .

Build for multiple plaforms

If not already done, you might create a new docker buildx builder using the following command:

docker buildx create --name mybuilder

(If you don't remember if you already created one, you can check it using: docker buildx ls)

and tell buildx to use this new builder:

docker buildx use mybuilder

you can then inspect buildx to see which platforms can be built:

docker buildx inspect --bootstrap

then eventually, run the following command to build (and push) it for given platforms:

docker buildx build --push --tag cdue/composer:2.0.7 --platform=linux/arm64,linux/amd64 .

Push Docker image

Simply use the --push option with the previous "build" command (it assume you already have docker login and have granted access to the tag registry you're pointing to).

Or run :

docker image push cdue/composer:latest

About

Simple and light Docker image base on composer/composer (alpine) and containing soap extension

License:GNU General Public License v3.0


Languages

Language:Dockerfile 100.0%