Skip to content
Snippets Groups Projects
Commit a1300a4a authored by CANALS Gerome's avatar CANALS Gerome
Browse files

image tests

parent d0be7854
Branches
No related tags found
No related merge requests found
#!/bin/bash
tag="latest"
if [ $# -ge 1 ]; then
tag=$1
fi
echo "running a canals/php based container with tag : $tag"
docker run --rm\
-p 9080:80 -p 9443:443 \
-v "$PWD"/html:/var/www/html \
-v "$PWD"/src:/var/www/src \
-v "$PWD"/ssl:/etc/ssl \
canals/php:$tag
#!/usr/local/bin/bash #!/bin/bash
tag="latest" tag="latest"
if [ $# -ge 1 ]; then if [ $# -ge 1 ]; then
......
#!/usr/local/bin/bash #!/bin/bash
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
......
...@@ -15,3 +15,5 @@ echo <<<EOT ...@@ -15,3 +15,5 @@ echo <<<EOT
<body> <h1> php is working ! </h1> <h2> sample : $sample</h2> <body> <h1> php is working ! </h1> <h2> sample : $sample</h2>
</html> </html>
EOT; EOT;
xdebug_info();
\ No newline at end of file
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* @author: canals * @author: canals
*/ */
$sample ='hungry heart'; $sample ='yoo man';
return $sample; return $sample;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment