-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
82 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
# Subaligner CentOS 7 Docker Image | ||
From centos:7 | ||
From centos:8 | ||
|
||
ARG RELEASE_VERSION | ||
|
||
ENV RELEASE_VERSION=${RELEASE_VERSION} | ||
|
||
RUN ["/bin/bash", "-c", "yum install -y epel-release &&\ | ||
yum update -y &&\ | ||
yum groupinstall -y \"Development Tools\" &&\ | ||
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm &&\ | ||
yum install -y openssl-devel bzip2-devel libffi-devel xz-devel &&\ | ||
yum install -y wget &&\ | ||
yum install -y ffmpeg &&\ | ||
yum install -y espeak espeak-devel &&\ | ||
yum install -y libsndfile-devel &&\ | ||
yum install -y gcc &&\ | ||
wget https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz &&\ | ||
tar xvf Python-3.8.12.tgz &&\ | ||
cd Python-3.8.12 &&\ | ||
./configure --enable-optimizations &&\ | ||
make altinstall &&\ | ||
python3.8 -m pip install --upgrade pip &&\ | ||
python3.8 -m pip install \"subaligner==${RELEASE_VERSION}\" &&\ | ||
python3.8 -m pip install \"subaligner[harmony]==${RELEASE_VERSION}\""] | ||
RUN cd /etc/yum.repos.d/ | ||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* | ||
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* | ||
|
||
RUN ["/bin/bash", "-c", "dnf install -y epel-release dnf-utils &&\ | ||
dnf upgrade -y openssl-libs bind-export-libs &&\ | ||
dnf config-manager --set-enabled powertools &&\ | ||
dnf install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm &&\ | ||
dnf install -y ffmpeg &&\ | ||
dnf install -y espeak-ng &&\ | ||
ln -s /usr/lib64/libespeak-ng.so.1 /usr/lib64/libespeak.so &&\ | ||
dnf install -y libsndfile-devel &&\ | ||
dnf install -y python3 &&\ | ||
dnf install -y gcc &&\ | ||
dnf install -y python3-wheel &&\ | ||
dnf install -y python3-devel &&\ | ||
dnf install -y python3-pip &&\ | ||
dnf makecache &&\ | ||
dnf upgrade python3-pip &&\ | ||
python3 -m pip install --upgrade pip &&\ | ||
python3 -m pip install --upgrade setuptools wheel &&\ | ||
python3 -m pip install \"subaligner==${RELEASE_VERSION}\" &&\ | ||
python3 -m pip install \"subaligner[llm]==${RELEASE_VERSION}\""] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Subaligner Ubuntu 22 Docker Image | ||
FROM arm64v8/ubuntu:22.10 | ||
|
||
ARG RELEASE_VERSION | ||
|
||
ENV RELEASE_VERSION=${RELEASE_VERSION} | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/London | ||
|
||
RUN ["/bin/bash", "-c", "apt-get -y update &&\ | ||
apt-get -y install ffmpeg &&\ | ||
apt-get -y install espeak libespeak1 libespeak-dev espeak-data &&\ | ||
apt-get -y install libsndfile-dev &&\ | ||
apt-get -y install python3-dev &&\ | ||
apt-get -y install python3-tk &&\ | ||
apt-get -y install python3-pip &&\ | ||
apt-get -y install libhdf5-dev &&\ | ||
python3 -m pip install --upgrade pip &&\ | ||
python3 -m pip install \"subaligner==${RELEASE_VERSION}\" &&\ | ||
python3 -m pip install \"subaligner[harmony]==${RELEASE_VERSION}\""] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters