docker – Diff between revs 60 and 63
?pathlinks?
Rev 60 | Rev 63 | |||
---|---|---|---|---|
Line 54... | Line 54... | |||
54 | # BEGIN TOOLS # |
54 | # BEGIN TOOLS # |
|
55 | ########################################################################### |
55 | ########################################################################### |
|
56 | RUN mkdir -p /tmp/kitchen |
56 | RUN mkdir -p /tmp/kitchen |
|
57 | WORKDIR /tmp/kitchen |
57 | WORKDIR /tmp/kitchen |
|
Line -... | Line 58... | |||
- | 58 | |
||
- | 59 | # install whisper-ctranslate2 |
||
- | 60 | #RUN pip install --break-system-packages -U whisper-ctranslate2 |
||
58 | |
61 | |
|
59 | # Install selenium for web automation. |
62 | # Install selenium for web automation. |
|
60 | RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ |
63 | RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ |
|
61 | echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \ |
64 | echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list && \ |
|
Line 62... | Line 65... | |||
62 | apt-get update && apt-get -y install google-chrome-stable |
65 | apt-get update && apt-get -y install google-chrome-stable |
|
Line 63... | Line 66... | |||
63 | |
66 | |
|
- | 67 | RUN CHROMEDRIVER_FORCE_DOWNLOAD=true npm install -g selenium-side-runner chromedriver |
||
64 | RUN CHROMEDRIVER_FORCE_DOWNLOAD=true npm install -g selenium-side-runner chromedriver |
68 | |
|
65 | |
69 | # Install phantomJS |
|
66 | # Install phantomJS |
70 | RUN npm install -g phantomjs-bin |
|
67 | RUN curl -L -s https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -o /tmp/kitchen/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ |
71 | #RUN curl -L -s https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -o /tmp/kitchen/phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ |
|
68 | tar -jxpvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ |
72 | # tar -jxpvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \ |
|
Line 69... | Line 73... | |||
69 | mkdir -p /usr/local/bin && \ |
73 | # mkdir -p /usr/local/bin && \ |
|
70 | cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ && \ |
74 | # cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ && \ |
|
71 | rm -rf /tmp/kitchen/phantomjs* |
75 | # rm -rf /tmp/kitchen/phantomjs* |
|
72 | |
76 | |
|
Line 73... | Line 77... | |||
73 | # Install xidel |
77 | # Install xidel |
|
74 | RUN curl -L -s https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/xidel_0.9.8-1_amd64.deb/download -o /tmp/kitchen/xidel.deb && \ |
78 | RUN curl -L -s https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/xidel_0.9.8-1_amd64.deb/download -o /tmp/kitchen/xidel.deb && \ |
|
75 | apt-get install -f -y /tmp/kitchen/xidel.deb && \ |
79 | apt-get install -f -y /tmp/kitchen/xidel.deb && \ |
|
76 | rm /tmp/kitchen/xidel.deb |
80 | rm /tmp/kitchen/xidel.deb |
|
77 | |
81 | |
|
- | 82 | # Install YouTube downloader. |
||
- | 83 | #RUN mkdir -p /opt/pipx && \ |
||
Line 78... | Line 84... | |||
78 | # Install YouTube downloader. |
84 | # export PIPX_HOME=/opt/pipx && \ |
|
79 | RUN mkdir -p /opt/pipx && \ |
85 | # export PIPX_BIN_DIR=/usr/local/bin && \ |
|
80 | export PIPX_HOME=/opt/pipx && \ |
86 | # pipx install yt-dlp |
|
81 | export PIPX_BIN_DIR=/usr/local/bin && \ |
87 | RUN curl -L -s https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \ |