Dockerfile 640 B

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