mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
Add workaround for building docker on debian 8 (#47106)
Looks like there's a workaround with aufs used in debian 8. Adding `tsflags=nodocs` works around this issue and results in smaller image files also. Closes #47097 and elastic/infra#14780
This commit is contained in:
parent
2be351c5d0
commit
d229e15b8d
@ -39,8 +39,8 @@ FROM centos:7
|
||||
|
||||
ENV ELASTIC_CONTAINER true
|
||||
|
||||
RUN for iter in {1..10}; do yum update -y && \
|
||||
yum install -y nc && \
|
||||
RUN for iter in {1..10}; do yum update --setopt=tsflags=nodocs -y && \
|
||||
yum install -y --setopt=tsflags=nodocs nc && \
|
||||
yum clean all && exit_code=0 && break || exit_code=\$? && echo "yum error: retry \$iter in 10s" && sleep 10; done; \
|
||||
(exit \$exit_code)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user