# Subaligner CentOS 7 Docker Image
From centos:7

ARG RELEASE_VERSION

RUN ["/bin/bash", "-c", "yum update -y &&\
    yum update-to -y openssl-libs-1:1.0.2k-21.el7_9 &&\
    yum install -y epel-release &&\
    rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm &&\
    yum install -y ffmpeg &&\
    yum install -y espeak espeak-devel &&\
    yum install -y libsndfile-devel &&\
    yum install -y gcc &&\
    yum install -y python36 &&\
    yum install -y python36-devel &&\
    yum install -y python36-setuptools &&\
    easy_install-3.6 pip &&\
    pip install --upgrade pip &&\
    python3 -m pip install 'subaligner[harmony]==${RELEASE_VERSION:1}'"]
