Build docker base image fail

I tried to build image using Dockerfile from but ends up with below error.

Step 46/59 : ADD phantomjs /usr/local/bin/phantomjs
ADD failed: stat /var/lib/docker/tmp/docker-builder498252385/phantomjs: no such file or directory

I cannot find phantomjs on folder “/image/base” of [discourse_docker] repo (GitHub - discourse/discourse_docker: A Docker image for Discourse). Can someone point me where can I find the file?

Sorry we are in the process of nuking phantom, it should be gone soon cc @tgxworld


Take a look at the following post if you don’t want to wait until phantomjs is removed.

Also, we build a new base image every week. You can find it at Docker Hub

1 Like

Hmm I didn’t nuke phantomjs yet… That is odd

I think what Sam meant to say was:

Sorry we are in the process of nuking phantomjs. It should be gone soon and then you don’t need to worry about the missing phantomjs anymore.

It’s definitely not your fault that the build is failing for @ray_chen. Building the base image is just a little bit more complicated. Currently it doesn’t work without compiling phantomjs before building the base image.