diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 48e2f846..798e07a3 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -53,9 +53,11 @@ RUN mkdir -p /config && \ ffmpeg -version && \ # Install phantomjs if using x86_64, ensure it is properly installed if [[ $(uname -m) == "x86_64" ]]; then \ - curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xj && \ + curl -L -o phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ + tar -xvf phantomjs.tar.bz2 && \ mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \ rm -rf phantomjs-2.1.1-linux-x86_64/ && \ + rm phantomjs.tar.bz2 && \ echo "Phantom JS version:" && \ phantomjs --version ; \ fi && \