-
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
7 changed files
with
77 additions
and
76 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
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==0.3.1\" &&\ | ||
python3 -m pip install \"subaligner[harmony]==0.3.1\""] |
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