hmm
This commit is contained in:
parent
0620c06377
commit
af5fe587b6
3 changed files with 6 additions and 3 deletions
|
|
@ -30,9 +30,10 @@ RUN mkdir -p /config && \
|
|||
aria2c --version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
echo "installing phantomjs" && \
|
||||
apk add --no-cache gcompat && \
|
||||
cd /defaults && \
|
||||
tar -xzf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
tar -xj phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/share/phantomjs && \
|
||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
|
|
|
|||
|
|
@ -51,8 +51,9 @@ RUN mkdir -p /config && \
|
|||
ffmpeg -version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
echo "installing phantomjs" && \
|
||||
cd /defaults && \
|
||||
tar -xzf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
|
|
|
|||
|
|
@ -54,8 +54,9 @@ RUN mkdir -p /config && \
|
|||
ffmpeg -version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
echo "installing phantomjs" && \
|
||||
cd /defaults && \
|
||||
tar -xzf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue