- FROM registry.sdsys.ru/centos:6.10
- ENV JAVA_HOME=/usr/java/default LANG=ru_RU.utf8
- RUN set -x \
- && localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8 \
- && curl https://repo.infoclinica.ru/yum/centos/sds-prod-portal.repo -o /etc/yum.repos.d/sds-prod-portal.repo \
- && yum install -y jdk1.8-1.8.0_191 \
- && yum update ca-certificates.noarch -y \
- && yum clean all \
- && mv ${JAVA_HOME}/jre/lib/security/cacerts ${JAVA_HOME}/jre/lib/security/cacerts.old \
- && ln -s /etc/pki/ca-trust/extracted/java/cacerts ${JAVA_HOME}/jre/lib/security/cacerts
|