konrad-ohms commented on issue #2231: RHEL 8 Support for CouchDB
URL: https://github.com/apache/couchdb/issues/2231#issuecomment-540946214
 
 
   Thank you very much @wohali, I tried the build from yesterday again, this 
time the dependencies could be resolved:
   
   ```
   $ docker build --pull --no-cache -t couchdb-centos8 -f Dockerfile .
   Sending build context to Docker daemon   2.56kB
   Step 1/3 : FROM centos:8
   8: Pulling from library/centos
   Digest: 
sha256:f94c1d992c193b3dc09e297ffd54d8a4f1dc946c37cbeceb26d35ce1647f88d9
   Status: Image is up to date for centos:8
    ---> 0f3e07c0138f
   Step 2/3 : RUN echo "[bintray--apache-couchdb-rpm]" > 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     echo 
"name=bintray--apache-couchdb-rpm" >> 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     echo 
"baseurl=http://apache.bintray.com/couchdb-rpm/el8/x86_64/"; >> 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     echo "gpgcheck=0" >> 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     echo "repo_gpgcheck=0" 
>> /etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     echo "enabled=1" >> 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo &&     cat 
/etc/yum.repos.d/bintray-apache-couchdb-rpm.repo
    ---> Running in a937d291beda
   [bintray--apache-couchdb-rpm]
   name=bintray--apache-couchdb-rpm
   baseurl=http://apache.bintray.com/couchdb-rpm/el8/x86_64/
   gpgcheck=0
   repo_gpgcheck=0
   enabled=1
   Removing intermediate container a937d291beda
    ---> 06992bf7fec5
   Step 3/3 : RUN yum -y install epel-release &&     yum install -y couchdb
    ---> Running in 3a46ed56c85a
   CentOS-8 - AppStream                            358 kB/s | 5.6 MB     00:16  
  
   CentOS-8 - Base                                 615 kB/s | 5.3 MB     00:08  
  
   CentOS-8 - Extras                               641  B/s | 2.1 kB     00:03  
  
   bintray--apache-couchdb-rpm                     9.4 kB/s |  22 kB     00:02  
  
   Dependencies resolved.
   
================================================================================
    Package               Arch            Version            Repository       
Size
   
================================================================================
   Installing:
    epel-release          noarch          8-5.el8            extras           
22 k
   
   Transaction Summary
   
================================================================================
   Install  1 Package
   
   Total download size: 22 k
   Installed size: 30 k
   Downloading Packages:
   epel-release-8-5.el8.noarch.rpm                  21 kB/s |  22 kB     00:01  
  
   
--------------------------------------------------------------------------------
   Total                                           9.2 kB/s |  22 kB     00:02  
   
   warning: 
/var/cache/dnf/extras-cbfb2f07b0021b7e/packages/epel-release-8-5.el8.noarch.rpm:
 Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
   CentOS-8 - Extras                               1.6 MB/s | 1.6 kB     00:00  
  
   Importing GPG key 0x8483C65D:
    Userid     : "CentOS (CentOS Official Signing Key) <secur...@centos.org>"
    Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
    From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
   Key imported successfully
   Running transaction check
   Transaction check succeeded.
   Running transaction test
   Transaction test succeeded.
   Running transaction
     Preparing        :                                                        
1/1 
     Installing       : epel-release-8-5.el8.noarch                            
1/1 
     Running scriptlet: epel-release-8-5.el8.noarch                            
1/1 
     Verifying        : epel-release-8-5.el8.noarch                            
1/1 
   
   Installed:
     epel-release-8-5.el8.noarch                                                
   
   
   Complete!
   Extra Packages for Enterprise Linux 8 - x86_64  442 kB/s | 2.1 MB     00:04  
  
   Last metadata expiration check: 0:00:01 ago on Fri Oct 11 07:16:40 2019.
   Dependencies resolved.
   
================================================================================
    Package           Arch    Version           Repository                    
Size
   
================================================================================
   Installing:
    couchdb           x86_64  2.3.1-1.el8       bintray--apache-couchdb-rpm   
24 M
   Installing dependencies:
    nspr              x86_64  4.20.0-2.el8      AppStream                    
143 k
    libicu            x86_64  60.2-7.el8        BaseOS                       
8.8 M
    python3-chardet   noarch  3.0.4-7.el8       BaseOS                       
195 k
    python3-idna      noarch  2.5-5.el8         BaseOS                        
97 k
    python3-pysocks   noarch  1.6.8-3.el8       BaseOS                        
34 k
    python3-requests  noarch  2.20.0-1.el8      BaseOS                       
123 k
    python3-urllib3   noarch  1.23-5.el8        BaseOS                       
178 k
    couch-js          x86_64  1:1.8.5-21.el8    bintray--apache-couchdb-rpm  
2.1 M
   
   Transaction Summary
   
================================================================================
   Install  9 Packages
   
   Total download size: 35 M
   Installed size: 101 M
   Downloading Packages:
   (1/9): python3-chardet-3.0.4-7.el8.noarch.rpm   164 kB/s | 195 kB     00:01  
  
   (2/9): python3-idna-2.5-5.el8.noarch.rpm        1.3 MB/s |  97 kB     00:00  
  
   (3/9): nspr-4.20.0-2.el8.x86_64.rpm             111 kB/s | 143 kB     00:01  
  
   (4/9): python3-pysocks-1.6.8-3.el8.noarch.rpm   669 kB/s |  34 kB     00:00  
  
   (5/9): python3-urllib3-1.23-5.el8.noarch.rpm    1.5 MB/s | 178 kB     00:00  
  
   (6/9): python3-requests-2.20.0-1.el8.noarch.rpm 762 kB/s | 123 kB     00:00  
  
   (7/9): couch-js-1.8.5-21.el8.x86_64.rpm         2.8 MB/s | 2.1 MB     00:00  
  
   (8/9): libicu-60.2-7.el8.x86_64.rpm             3.7 MB/s | 8.8 MB     00:02  
  
   (9/9): couchdb-2.3.1-1.el8.x86_64.rpm           2.6 MB/s |  24 MB     00:09  
  
   
--------------------------------------------------------------------------------
   Total                                           2.8 MB/s |  35 MB     00:12  
   
   Running transaction check
   Transaction check succeeded.
   Running transaction test
   Transaction test succeeded.
   Running transaction
     Preparing        :                                                        
1/1 
     Installing       : python3-pysocks-1.6.8-3.el8.noarch                     
1/9 
     Installing       : python3-urllib3-1.23-5.el8.noarch                      
2/9 
     Installing       : python3-idna-2.5-5.el8.noarch                          
3/9 
     Installing       : python3-chardet-3.0.4-7.el8.noarch                     
4/9 
     Installing       : python3-requests-2.20.0-1.el8.noarch                   
5/9 
     Installing       : libicu-60.2-7.el8.x86_64                               
6/9 
     Running scriptlet: libicu-60.2-7.el8.x86_64                               
6/9 
     Installing       : nspr-4.20.0-2.el8.x86_64                               
7/9 
     Running scriptlet: nspr-4.20.0-2.el8.x86_64                               
7/9 
     Installing       : couch-js-1:1.8.5-21.el8.x86_64                         
8/9 
     Running scriptlet: couch-js-1:1.8.5-21.el8.x86_64                         
8/9 
     Running scriptlet: couchdb-2.3.1-1.el8.x86_64                             
9/9 
     Installing       : couchdb-2.3.1-1.el8.x86_64                             
9/9 
     Running scriptlet: couchdb-2.3.1-1.el8.x86_64                             
9/9 
     Verifying        : nspr-4.20.0-2.el8.x86_64                               
1/9 
     Verifying        : libicu-60.2-7.el8.x86_64                               
2/9 
     Verifying        : python3-chardet-3.0.4-7.el8.noarch                     
3/9 
     Verifying        : python3-idna-2.5-5.el8.noarch                          
4/9 
     Verifying        : python3-pysocks-1.6.8-3.el8.noarch                     
5/9 
     Verifying        : python3-requests-2.20.0-1.el8.noarch                   
6/9 
     Verifying        : python3-urllib3-1.23-5.el8.noarch                      
7/9 
     Verifying        : couch-js-1:1.8.5-21.el8.x86_64                         
8/9 
     Verifying        : couchdb-2.3.1-1.el8.x86_64                             
9/9 
   
   Installed:
     couchdb-2.3.1-1.el8.x86_64              nspr-4.20.0-2.el8.x86_64           
  
     libicu-60.2-7.el8.x86_64                python3-chardet-3.0.4-7.el8.noarch 
  
     python3-idna-2.5-5.el8.noarch           python3-pysocks-1.6.8-3.el8.noarch 
  
     python3-requests-2.20.0-1.el8.noarch    python3-urllib3-1.23-5.el8.noarch  
  
     couch-js-1:1.8.5-21.el8.x86_64         
   
   Complete!
   Removing intermediate container 3a46ed56c85a
    ---> f580589818c1
   Successfully built f580589818c1
   Successfully tagged couchdb-centos8:latest
   
   $ docker run --rm -it couchdb-centos8:latest bash
   [root@0ec09dd1998d /]# /opt/couchdb/bin/couchdb &
   [1] 14
   [root@0ec09dd1998d /]# curl localhost:5984
   
{"couchdb":"Welcome","version":"2.3.1","git_sha":"c298091a4","uuid":"0fdbf3d7eaa5c7095b0f48088123cd6d","features":["pluggable-storage-engines","scheduler"],"vendor":{"name":"The
 Apache Software Foundation"}}
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to