fabric8-analytics / fabric8-analytics-server

fabric8-analytics API server
Apache License 2.0
16 stars 56 forks source link

Error during docker-compose build #82

Closed tisnik closed 7 years ago

tisnik commented 7 years ago

The following error message is displayed during ./docker-compose build:

Step 1 : FROM registry.centos.org/sclo/postgresql-94-centos7:latest
 ---> b75cffc48625
Step 2 : MAINTAINER Fridolin Pokorny <fridolin@redhat.com>
 ---> Using cache
 ---> d135636a86e1
Step 3 : ADD ./common.sh /usr/share/container-scripts/postgresql/common.sh
 ---> Using cache
 ---> ba8001e265a2
Step 4 : EXPOSE 5432
 ---> Using cache
 ---> 502ab02bf416
Step 5 : CMD run-postgresql
 ---> Using cache
 ---> 2cc1ed8bcfa3
Successfully built 2cc1ed8bcfa3
Step 1 : FROM registry.centos.org/centos/centos:7
 ---> 77ae887f4989
Step 2 : MAINTAINER Slavek Kabrda <slavek@redhat.com>
 ---> Using cache
 ---> 263d83a0152b
Step 3 : RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm &&        yum -y install pgbouncer postgresql &&      yum clean all
 ---> Using cache
 ---> b14c7a4731d4
Step 4 : COPY run-pgbouncer.sh health-check-probe.sh /usr/bin/
 ---> Using cache
 ---> 2a95f4405580
Step 5 : EXPOSE 5432
 ---> Using cache
 ---> adbe9b253ed6
Step 6 : ENTRYPOINT /usr/bin/run-pgbouncer.sh
 ---> Using cache
 ---> 9ba18a34843b
Successfully built 9ba18a34843b
Step 1 : FROM registry.centos.org/centos/centos:7
 ---> 77ae887f4989
Step 2 : MAINTAINER Pavel Odvody <podvody@redhat.com>
 ---> Using cache
 ---> 7453569dcf81
Step 3 : ENV LANG en_US.UTF-8
 ---> Using cache
 ---> f78f0e61e67d
Step 4 : RUN useradd coreapi
 ---> Using cache
 ---> b9ee5dd439ee
Step 5 : RUN yum install -y epel-release &&    yum install -y gcc patch git python34-pip python34-requests httpd httpd-devel python34-devel postgresql-devel redhat-rpm-config libxml2-devel libxslt-devel python34-pycurl &&    yum clean all
 ---> Using cache
 ---> 1384d591d254
Step 6 : RUN mkdir -p /coreapi
 ---> Using cache
 ---> 178761057f2b
Step 7 : COPY ./requirements.txt /coreapi
 ---> Using cache
 ---> f940f63766b9
Step 8 : RUN pushd /coreapi &&     pip3 install -r requirements.txt &&     rm requirements.txt &&     popd
 ---> Using cache
 ---> c13816a9e552
Step 9 : RUN mkdir -p /tmp/install_deps/patches/
 ---> Using cache
 ---> ecc791e043c1
Step 10 : COPY hack/patches/* /tmp/install_deps/patches/
 ---> Using cache
 ---> 31de91c85f6d
Step 11 : COPY hack/apply_patches.sh /tmp/install_deps/
 ---> Using cache
 ---> 58da51e5e320
Step 12 : COPY ./coreapi-httpd.conf /etc/httpd/conf.d/
 ---> Using cache
 ---> 387d23f3264a
Step 13 : ENTRYPOINT /usr/bin/coreapi-server.sh
 ---> Using cache
 ---> 27cde7407fe6
Step 14 : COPY ./ /coreapi
 ---> Using cache
 ---> 5f87c00b4637
Step 15 : RUN pushd /coreapi &&     pip3 install . &&     popd &&     find coreapi/ -mindepth 1 -maxdepth 1 \( ! -name 'alembic*' -a ! -name hack \) -exec rm -rf {} +
 ---> Using cache
 ---> 68c2ee614177
Step 16 : ENV F8A_WORKER_VERSION aa3a742
 ---> Using cache
 ---> 5debb249d2cb
Step 17 : RUN pip3 install git+https://github.com/fabric8-analytics/fabric8-analytics-worker.git@${F8A_WORKER_VERSION}
 ---> Using cache
 ---> 2a31bdfd06cf
Step 18 : COPY .git/ /tmp/.git
 ---> Using cache
 ---> e26e6f5deeea
Step 19 : RUN cd /tmp/.git &&    git show -s --format="COMMITTED_AT=%ai%nCOMMIT_HASH=%h%n" HEAD | tee /etc/coreapi-release &&    rm -rf /tmp/.git/
 ---> Using cache
 ---> 8bcf6b63bd60
Step 20 : COPY hack/update_selinon.sh /tmp/
 ---> Using cache
 ---> b53c9c9b8e8c
Step 21 : RUN sh /tmp/update_selinon.sh
 ---> Using cache
 ---> a51fb7c667fa
Step 22 : RUN cd /tmp/install_deps/ && /tmp/install_deps/apply_patches.sh
 ---> Running in f022962a6fdb
patching file boto/endpoints.json
Hunk #1 FAILED at 569.
1 out of 1 hunk FAILED -- saving rejects to file boto/endpoints.json.rej
tisnik commented 7 years ago

It was fixed by the following PR: #81 Everything is ok -> I'm closing this issue