@@ -38,7 +38,7 @@ pause(){
3838}
3939
4040getHeartbeat (){
41- eval " response=$( docker run --network fiware_default --rm curlimages /curl -s -o /dev/null -w " %{http_code}" " $1 " ) "
41+ eval " response=$( docker run --network fiware_default --rm quay.io/curl /curl -s -o /dev/null -w " %{http_code}" " $1 " ) "
4242}
4343
4444waitForOrion () {
@@ -66,14 +66,14 @@ waitForScorpio () {
6666waitForStellio () {
6767 echo -e " \n⏳ Waiting for \033[1;34mStellio\033[0m to respond\n"
6868 waitSeconds=30
69- while [ ` docker run --network fiware_default --rm curlimages /curl -s -o /dev/null -w %{http_code} ' http://stellio:8080/ngsi-ld/v1/entities/?type=X' ` -eq 000 ]
69+ while [ ` docker run --network fiware_default --rm quay.io/curl /curl -s -o /dev/null -w %{http_code} ' http://stellio:8080/ngsi-ld/v1/entities/?type=X' ` -eq 000 ]
7070 do
7171 echo -e " Context Broker HTTP state: " ` curl -s -o /dev/null -w %{http_code} ' http://localhost:8080/ngsi-ld/v1/entities/?type=X' ` " (waiting for 500)"
7272 echo -e " Waiting for ${waitSeconds} seconds ..."
7373 sleep ${waitSeconds}
7474 done
7575 echo -e " \n⏳ Waiting for all \033[1;34mStellio\033[0m services to be available\n"
76- while [ ` docker run --network fiware_default --rm curlimages /curl -s -o /dev/null -w %{http_code} ' http://stellio:8080/ngsi-ld/v1/entities/?type=X' ` -eq 500 ]
76+ while [ ` docker run --network fiware_default --rm quay.io/curl /curl -s -o /dev/null -w %{http_code} ' http://stellio:8080/ngsi-ld/v1/entities/?type=X' ` -eq 500 ]
7777 do
7878 echo -e " Context Broker HTTP state: " ` curl -s -o /dev/null -w %{http_code} ' http://localhost:8080/ngsi-ld/v1/entities/?type=X' ` " (waiting for 200)"
7979 echo -e " Waiting for ${waitSeconds} seconds ..."
@@ -94,12 +94,12 @@ waitForUserContext () {
9494
9595waitForCoreContext () {
9696 echo -e " \n⏳ Checking availability of \033[1m core @context\033[0m from ETSI\n"
97- eval " response=$( docker run --rm curlimages /curl -s -o /dev/null -w " %{http_code}" " $CORE_CONTEXT " ) "
97+ eval " response=$( docker run --rm quay.io/curl /curl -s -o /dev/null -w " %{http_code}" " $CORE_CONTEXT " ) "
9898 while [ " ${response} " -eq 000 ]
9999 do
100100 echo -e " \n@context HTTP state: ${response} (waiting for 200)"
101101 pause 3
102- eval " response=$( docker run --rm curlimages /curl -s -o /dev/null -w " %{http_code}" " $CORE_CONTEXT " ) "
102+ eval " response=$( docker run --rm quay.io/curl /curl -s -o /dev/null -w " %{http_code}" " $CORE_CONTEXT " ) "
103103 done
104104}
105105
@@ -118,7 +118,7 @@ loadData () {
118118 --network fiware_default \
119119 -e CONTEXT_BROKER=${CONTEXT_BROKER} \
120120 -e TUTORIAL_DATA_MODELS_CONTEXT=${CONTEXT} \
121- --entrypoint /bin/ash curlimages /curl import-data
121+ --entrypoint /bin/ash quay.io /curl/curl / import-data
122122}
123123
124124addDatabaseIndex () {
0 commit comments