Parcourir la source

Добавил установку дополнительных пакетов и удаление yum cache

tomishinets.v il y a 5 ans
Parent
commit
a540c75101
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      Dockerfile

+ 4 - 3
Dockerfile

@@ -6,9 +6,10 @@ ENV PATH=/usr/share/web-registry-portal/bin:$PATH LANG="en_US.UTF-8" ADMIN_HOST=
 EXPOSE 9000 2551
 HEALTHCHECK --start-period=30s --interval=15s --timeout=5s --retries=2 CMD healthcheck.sh
 ARG repo=prod
-RUN set -x \           
+RUN set -x \
            && 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 -y \
-           && yum clean all 
+           && yum install web-registry-portal iputils -y \
+           && yum clean all \
+           && && rm -rf /var/cache/yum