[DOCKER] Fix ubuntu docker build (#589)
This commit is contained in:
parent
4339807bc9
commit
8f4cc5df39
1 changed files with 3 additions and 1 deletions
|
|
@ -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 && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue