php/test/examples/from-dockerfile
2022-06-09 08:34:45 +00:00
..
.gitignore RPM uses a wrong file in the config, fix it in the container 2022-06-09 08:34:45 +00:00
Dockerfile RPM uses a wrong file in the config, fix it in the container 2022-06-09 08:34:45 +00:00
Dockerfile.s2i RPM uses a wrong file in the config, fix it in the container 2022-06-09 08:34:45 +00:00
README.md RPM uses a wrong file in the config, fix it in the container 2022-06-09 08:34:45 +00:00

Dockerfile examples

This directory contains example Dockerfiles that demonstrate how to use the image with a Dockerfile and podman build.

For demonstration, we use an application code available at https://github.com/sclorg/cakephp-ex.git.

Pull the source to the local machine first:

git clone https://github.com/sclorg/cakephp-ex.git app-src

Then, build a new image from a Dockerfile in this directory:

podman build -f Dockerfile -t cakephp-app .

And run the resulting image with the final application:

podman run -ti --rm cakephp-app