woshifudayun commented on a change in pull request #8666: resolve resolveip 
command not found issue in integration test
URL: https://github.com/apache/incubator-druid/pull/8666#discussion_r336687795
 
 

 ##########
 File path: integration-tests/docker/Dockerfile
 ##########
 @@ -86,4 +86,4 @@ EXPOSE 8300 8301 8302 8303 8304 8305
 EXPOSE 9092 9093
 
 WORKDIR /var/lib/druid
-ENTRYPOINT export HOST_IP="$(resolveip -s $HOSTNAME)" && 
/tls/generate-server-certs-and-keystores.sh && exec /usr/bin/supervisord -c 
/etc/supervisor/conf.d/supervisord.conf
+ENTRYPOINT export HOST_IP="$(curl ifconfig.me)" && 
/tls/generate-server-certs-and-keystores.sh && exec /usr/bin/supervisord -c 
/etc/supervisor/conf.d/supervisord.conf
 
 Review comment:
   Agree. And i think @leventov already had a fix based on `dig` here: 
https://github.com/apache/incubator-druid/pull/6702 which also looks good to me.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to