-
Story
-
Resolution: Unresolved
-
Minor
-
None
I would like to execute docker.build command during Jenkins pipeline , with the --add-host parameter as I want to add a line in the /etc/host file.
Something like: docker build t tag:latest-add-host="host:127.128.0.1" .
I can´t find a way to do this with jenkins and docker yet, is this possible?
Right now my pipeline only runs docker.build(imageNameTagged)