Build docker base image fail

(Ray Chen) #1

I tried to build image using Dockerfile from discourse_docker/image/base at master · discourse/discourse_docker · GitHub 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?

(Sam Saffron) #2

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

(Gerhard Schlager) #3

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

(Alan Tan) #4

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

(Gerhard Schlager) #5

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.