Reputation: 685
docker build -t {name}/ruby-test .
Sending build context to Docker daemon 13.23 MB
Step 0 : FROM ruby:2.2.2
When I run the docker build command above it gets as far as you see.. and never continues. Not sure why or what to do about it. Thoughts?
Upvotes: 7
Views: 5434
Reputation: 4004
For me, I just had to add .git
to my .dockerignore
file and then it flew along.
Upvotes: 1
Reputation: 179
This seems to be an old and unresolved Docker bug. A workaround that works most of the time is to enclose the failing step with a random file creation/removal process.
RUN touch `echo random.$RANDOM`.txt
<YOUR FAILING STEP>
RUN rm random.*.txt;
Upvotes: 0