Browse Source

Up jdk-base

Admin User 5 years ago
parent
commit
8631d88f9e
2 changed files with 17 additions and 1 deletions
  1. 2 1
      Dockerfile
  2. 15 0
      sdsys-dev.repo

+ 2 - 1
Dockerfile

@@ -3,12 +3,13 @@ FROM registry.sdsys.ru/iru/iru-base:7.1
 ENTRYPOINT ["docker-entrypoint.sh"]
 COPY docker-entrypoint.sh healthcheck.sh /usr/share/web-registry-portal/bin/
 COPY application-logger.xml /etc/web-registry-portal/
+COPY sdsys-dev.repo /etc/yum.repos.d/sds-${repo}-portal.repo
 ENV PATH=/usr/share/web-registry-portal/bin:$PATH LANG="en_US.UTF-8" ADMIN_HOST=admin
 EXPOSE 9000 2551
 HEALTHCHECK --start-period=30s --interval=20s --timeout=10s --retries=2 CMD healthcheck.sh
 ARG repo=prod
 RUN set -x \
-           && curl https://repo.infoclinica.ru/yum/centos/sds-${repo}-portal.repo -o /etc/yum.repos.d/sds-${repo}-portal.repo \
+#           && curl https://repo.infoclinica.ru/yum/centos/sds-${repo}-portal.repo -o /etc/yum.repos.d/sds-${repo}-portal.repo \
            && chmod +x /usr/share/web-registry-portal/bin/docker-entrypoint.sh \
            && chmod +x /usr/share/web-registry-portal/bin/healthcheck.sh \
            && yum install web-registry-portal iputils -y \

+ 15 - 0
sdsys-dev.repo

@@ -0,0 +1,15 @@
+[sds-dev-portal]
+name=sds-dev-portal
+baseurl=http://repo.infoclinica.ru/yum/centos/6/dev/portal/noarch/
+enabled=1
+metadata_expire=1
+keepcache=0
+gpgcheck=0
+
+[sds-dev]
+name=sds-dev
+baseurl=http://repo.infoclinica.ru/yum/centos/6/dev/$basearch/
+enabled=1
+metadata_expire=1
+keepcache=0
+gpgcheck=0