Browse Source

Drop -it and add :ro to php test

Tianon Gravi 10 years ago
parent
commit
6c3d84dd6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/tests/php-hello-world/run.sh

+ 1 - 1
test/tests/php-hello-world/run.sh

@@ -4,4 +4,4 @@ image="$1"
 dirTest="$(dirname "$(readlink -f "$BASH_SOURCE")")"
 dirContainer='/var/www/html/hello-world'
 
-docker run -it --rm -v "$dirTest":"$dirContainer" -w "$dirContainer" "$image" php index.php
+docker run --rm -v "$dirTest":"$dirContainer":ro -w "$dirContainer" "$image" php index.php