-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: docker-build-step-plugin
-
None
I am having trouble using the COPY and ADD commands in my Dockerfile, for some reason when I do something like this:
ADD . /container/dir
or
ADD whatever.txt /container/dir
or
COPY . /container/dir
The only thing it adds/copies is the Dockerfile, and not the rest of the contents of the build context. I've been poking around the source, but I cannot pinpoint what the issue could be.
Caveat: My docker host is running on a different IP, and the jenkins instance is running inside a container on that host, but I'd think the docker REST client should still work in this case.