Automated commit
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
afbca4843d
commit
d35c2ec3c8
2 changed files with 23 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
FROM php
|
FROM php
|
||||||
|
|
||||||
CMD php -v
|
COPY index.php /app/index.php
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
CMD php index.php
|
||||||
|
|
18
notes.adoc
18
notes.adoc
|
@ -50,3 +50,21 @@ Copyright (c) The PHP Group
|
||||||
Built by https://github.com/docker-library/php
|
Built by https://github.com/docker-library/php
|
||||||
Zend Engine v4.4.11, Copyright (c) Zend Technologies
|
Zend Engine v4.4.11, Copyright (c) Zend Technologies
|
||||||
with Zend OPcache v8.4.11, Copyright (c), by Zend Technologies
|
with Zend OPcache v8.4.11, Copyright (c), by Zend Technologies
|
||||||
|
|
||||||
|
=== Building a container with code inside
|
||||||
|
|
||||||
|
podman build .
|
||||||
|
|
||||||
|
STEP 1/4: FROM php
|
||||||
|
STEP 2/4: COPY index.php /app/index.php
|
||||||
|
--> b592e9b3b69f
|
||||||
|
STEP 3/4: WORKDIR /app
|
||||||
|
--> 8f591440552a
|
||||||
|
STEP 4/4: CMD php index.php
|
||||||
|
COMMIT
|
||||||
|
--> ec4c5890c8a7
|
||||||
|
ec4c5890c8a75e93e1bb768f998e49ae7d2bf005e5e7c2a57dd2813b881e9758
|
||||||
|
|
||||||
|
podman run --rm ec4c5890c8a7
|
||||||
|
|
||||||
|
Hi, PHP Thames Valley!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue