This commit is contained in:
Jesse Bannon 2025-06-11 22:41:51 -07:00
parent 0620c06377
commit af5fe587b6
3 changed files with 6 additions and 3 deletions

View file

@ -30,9 +30,10 @@ RUN mkdir -p /config && \
aria2c --version && \ aria2c --version && \
# Install phantomjs if using x86_64, ensure it is properly installed # Install phantomjs if using x86_64, ensure it is properly installed
if [[ $(uname -m) == "x86_64" ]]; then \ if [[ $(uname -m) == "x86_64" ]]; then \
echo "installing phantomjs" && \
apk add --no-cache gcompat && \ apk add --no-cache gcompat && \
cd /defaults && \ 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 && \ 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 -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \

View file

@ -51,8 +51,9 @@ RUN mkdir -p /config && \
ffmpeg -version && \ ffmpeg -version && \
# Install phantomjs if using x86_64, ensure it is properly installed # Install phantomjs if using x86_64, ensure it is properly installed
if [[ $(uname -m) == "x86_64" ]]; then \ if [[ $(uname -m) == "x86_64" ]]; then \
echo "installing phantomjs" && \
cd /defaults && \ 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 && \ 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 -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \

View file

@ -54,8 +54,9 @@ RUN mkdir -p /config && \
ffmpeg -version && \ ffmpeg -version && \
# Install phantomjs if using x86_64, ensure it is properly installed # Install phantomjs if using x86_64, ensure it is properly installed
if [[ $(uname -m) == "x86_64" ]]; then \ if [[ $(uname -m) == "x86_64" ]]; then \
echo "installing phantomjs" && \
cd /defaults && \ 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 && \ 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 -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \