-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: docker-build-step-plugin
-
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)