[DOCKER] Fix ubuntu docker build (#589)

This commit is contained in:
Jesse Bannon 2023-04-12 09:13:15 -07:00 committed by GitHub
parent 4339807bc9
commit 8f4cc5df39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 && \