Get support for mnapoli/docker-php7

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

mnapoli/docker-php7

PHP 7 Docker image

This is yet another PHP 7 Docker image except this one contains Composer and Puli. Both are installed as Phars globally (composer and puli commands).

Usage

With Docker:

docker run mnapoli/php7-cli php -v

With Docker Compose:

app:
    image: mnapoli/php7-cli
    ...

Here is an example to mount the local directory and run PHP's built-in webserver for developing locally:

# docker-compose.yml
app:
    image: mnapoli/php7-cli
    ports:
        - "8080:8000"
    volumes:
        - .:/app
    working_dir: /app
    command: "php -S 0.0.0.0:8000"

Running docker-compose up will start the webserver. The application will be accessible at http://localhost:8080.

Composer and Puli

With Docker:

docker run mnapoli/php7-cli composer --version

With Docker Compose (and the docker-compose.yml example from above):

# Composer update
docker-composer run app composer update
# Puli build
docker-composer run app puli build
Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2