You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
399 B

#!/bin/sh -x
# use docker pull nginx if you not using local registry hub
docker pull
docker run -d --name nginx-container -p 80:80
echo "Rico Lin said hello from Vietnam InfraDay to $host::$version" > rico.html
docker cp $PWD/rico.html nginx-container:/usr/share/nginx/html/
cat rico.html > $heat_outputs_path.result
echo "Output to stderr" 1>&2