However, when it hits the ENTRYPOINT command and the apk fetch command is run, my pipeline simply times out. This likely stems from my lack of Docker knowledge but I'm really slamming my head against the wall as to why fetch works in the pipeline but not inside the container even though the --network=host is specified.
Hello,
To integrate this into my Jenkins pipeline I added the
--network=host
flag todocker build
at this location: https://github.com/gliderlabs/docker-alpine/blob/master/build#L21However, when it hits the
ENTRYPOINT
command and theapk fetch
command is run, my pipeline simply times out. This likely stems from my lack of Docker knowledge but I'm really slamming my head against the wall as to why fetch works in the pipeline but not inside the container even though the--network=host
is specified.Here's the console output from my pipeline: