# Build docker base image fail

**URL:** https://meta.discourse.org/t/build-docker-base-image-fail/76119
**Category:** Self-hosting
**Created:** [December 15, 2017, 9:52am UTC](https://meta.discourse.org/t/build-docker-base-image-fail/76119 "2017-12-15T09:52:51Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [December 15, 2017, 10:41am UTC](https://meta.discourse.org/t/build-docker-base-image-fail/76119/3 "2017-12-15T10:41:49Z")

</div>

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

> [@Chrome 59 headless support](https://meta.discourse.org/t/chrome-59-headless-support/62060/11):
>
> There’s some magic that occurs to obtain phantomJS The build.rb script executes the download\_phantomjs script on the host, which spins up a docker container, which I’m guessing builds a custom version of phantomJS. So if you run that download\_phantomjs script first it should work slight_smile[https://github.com/discourse/discourse\_docker/blob/master/image/build.rb#L98](https://github.com/discourse/discourse_docker/blob/master/image/build.rb#L98)[https://github.com/discourse/discourse\_docker/blob/master/image/base/download\_phantomjs](https://github.com/discourse/discourse_docker/blob/master/image/base/download_phantomjs)

Also, we build a new base image every week. You can find it at [discourse/base - Docker Image](https://hub.docker.com/r/discourse/base/)

---

_[View the full topic](https://meta.discourse.org/t/build-docker-base-image-fail/76119)._
