Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL 8 Support for CouchDB #2231

Closed
konrad-ohms opened this issue Oct 4, 2019 · 10 comments
Closed

RHEL 8 Support for CouchDB #2231

konrad-ohms opened this issue Oct 4, 2019 · 10 comments

Comments

@konrad-ohms
Copy link

Summary

CouchDB v2.3.1 does not provide RPM packages for Red Hat Enterprise Linux 8 at the moment, the bintray repositories are only providing el6 and el7 packages.

Desired Behaviour

I would appreciate having RPM based precompiled packages for RHEL 8 hosts (released in May 2019).

Possible Solution

Add CentOS 8 build node in Jenkins

couchdb/Jenkinsfile

Lines 145 to 183 in a5858b9

centos7: {
node(label: 'ubuntu') {
timeout(time: 60, unit: "MINUTES") {
sh 'docker pull couchdbdev/centos-7-erlang-19.3.6'
withDockerContainer(image: 'couchdbdev/centos-7-erlang-19.3.6') {
sh 'rm -f apache-couchdb-*.tar.gz'
unstash 'tarball'
sh '''
cwd=$(pwd)
mkdir -p $COUCHDB_IO_LOG_DIR
# Build CouchDB from tarball & test
builddir=$(mktemp -d)
cd $builddir
tar -xf $cwd/apache-couchdb-*.tar.gz
cd apache-couchdb-*
./configure --with-curl
make check || (build-aux/logfile-uploader.py && false)
# Build CouchDB packages
cd $builddir
git clone https://github.com/apache/couchdb-pkg
mkdir couchdb
cp $cwd/apache-couchdb-*.tar.gz couchdb
tar -xf $cwd/apache-couchdb-*.tar.gz -C couchdb
cd couchdb-pkg
platform=centos7
make $platform PLATFORM=$platform
# Cleanup & save for posterity
rm -rf $cwd/pkgs/$platform && mkdir -p $cwd/pkgs/$platform
mv ../rpmbuild/RPMS/x86_64/*rpm $cwd/pkgs/$platform || true
'''
} // withDocker
} // timeout
archiveArtifacts artifacts: 'pkgs/**', fingerprint: true
deleteDir()
} // node
},
and potentially adjust compile instructions/dependencies.

Additional context

While trying to build a CouchDB OCI/Docker image for the Red Hat's OpenShift platform I tried to find installation instructions of CouchDB for Red Hat based installations. I found instructions to install CouchDB 2.3.1 on RHEL 6 and RHEL 7, but it looks like that no package is available for RHEL 8. Is it planned to add support for RHEL 8 in future or maybe only in new CouchDB versions?

Currently my other images are based on Red Hat Universal Base Image 8 (base image name: registry.access.redhat.com/ubi8-minimal, see also RHEL 8 Documentation or Introducing the Red Hat Universal Base Image), CouchDB right now need to use Red Hat Universal Base Image 7 as base image in order to leverage existing rpms for RHEL 7.
I cannot directly use docker images provided by the CouchDB project, as only RHEL or UBI based images are getting certified on Red Hat OpenShift, therefore the existing Dockerfile is not an option for my use case as it is based on Debian and will not pass the certification.

@willholley
Copy link
Member

willholley commented Oct 4, 2019

There is already a discussion about this at apache/couchdb-pkg#55.

If it's of interest, the Cloudant/IBM team maintain a Red Hat certified CouchDB container (based on UBI 7) at https://access.redhat.com/containers/?tab=overview#/registry.connect.redhat.com/ibm/couchdb2. We'll update it to use ubi8 when the CouchDB packages are available.

@konrad-ohms
Copy link
Author

Thanks for your fast reply, I'll have a look into that image.

@wohali
Copy link
Member

wohali commented Oct 10, 2019

RPMs for CentOS 8 are now published. Follow the usual instructions.

@konrad-ohms
Copy link
Author

konrad-ohms commented Oct 10, 2019

That are good news, thanks for following up on this @wohali.
Even if my long term goal is to switch to the provided Docker image, using the CentOS 8 package might be the lower effort solution right now, as I include certain scripts in my image and have certain assumptions in my orchestration about the user running the CouchDB process.

@konrad-ohms
Copy link
Author

I run a quick sniff test but had no success installing it on CentOS 8 Docker image.

I used http://docs.couchdb.org/en/latest/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages as starting point.

Example Dockerfile to reproduce

FROM centos:8
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
RUN yum -y install epel-release && \
    yum install -y couchdb

Build output

$ 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 43f8781fa213
[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 43f8781fa213
 ---> 95c9b4f6d7cc
Step 3/3 : RUN yum -y install epel-release &&     yum install -y couchdb
 ---> Running in c5193ee8b1a9
CentOS-8 - AppStream                            649 kB/s | 5.6 MB     00:08    
CentOS-8 - Base                                 752 kB/s | 5.3 MB     00:07    
CentOS-8 - Extras                               301  B/s | 2.1 kB     00:07    
bintray--apache-couchdb-rpm                     9.5 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                  20 kB/s |  22 kB     00:01    
--------------------------------------------------------------------------------
Total                                           2.4 kB/s |  22 kB     00:09     
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) <security@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  405 kB/s | 2.1 MB     00:05    
Last metadata expiration check: 0:00:01 ago on Thu Oct 10 08:05:27 2019.
Error: 
 Problem: conflicting requests
  - nothing provides python-requests needed by couchdb-2.3.1-1.el8.x86_64
  - nothing provides python-progressbar needed by couchdb-2.3.1-1.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The command '/bin/sh -c yum -y install epel-release &&     yum install -y couchdb' returned a non-zero code: 1

Were the packages python-requests and python-progressbar and maybe renamed in CentOS 8?

@wohali
Copy link
Member

wohali commented Oct 10, 2019

Good catch, it's python3-requests and there is no python3-progress bar (which is an optional dependency anyway). I'll have to respin them; for now the packages are taken down.

@wohali
Copy link
Member

wohali commented Oct 10, 2019

@konrad-ohms New package is up - can you test for me? Thanks!

@wohali
Copy link
Member

wohali commented Oct 11, 2019

@konrad-ohms fyi here's my install transcript of it working fine:

[root@be33776c0942 /]# vi /etc/yum.repos.d/couchdb.repo
[root@be33776c0942 /]# cat /etc/yum.repos.d/couchdb.repo
[bintray--apache-couchdb-rpm]
name=bintray--apache-couchdb-rpm
baseurl=http://apache.bintray.com/couchdb-rpm/el$releasever/$basearch/
gpgcheck=0
repo_gpgcheck=0
enabled=1
[root@be33776c0942 /]# yum -y install epel-release
Failed to set locale, defaulting to C
CentOS-8 - AppStream                                                                                1.0 MB/s | 5.6 MB     00:05
CentOS-8 - Base                                                                                     1.3 MB/s | 5.3 MB     00:03
CentOS-8 - Extras                                                                                   1.8 kB/s | 2.1 kB     00:01
bintray--apache-couchdb-rpm                                                                          14 kB/s |  22 kB     00:01
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                                                                     335 kB/s |  22 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               141 kB/s |  22 kB     00:00
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) <security@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!
[root@be33776c0942 /]# yum install couchdb
Failed to set locale, defaulting to C
Extra Packages for Enterprise Linux 8 - x86_64                                                      660 kB/s | 2.1 MB     00:03
Last metadata expiration check: 0:00:01 ago on Fri Oct 11 02:44:29 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
Is this ok [y/N]: y
Downloading Packages:
(1/9): nspr-4.20.0-2.el8.x86_64.rpm                                                                 461 kB/s | 143 kB     00:00
(2/9): python3-idna-2.5-5.el8.noarch.rpm                                                            341 kB/s |  97 kB     00:00
(3/9): python3-pysocks-1.6.8-3.el8.noarch.rpm                                                       243 kB/s |  34 kB     00:00
(4/9): python3-requests-2.20.0-1.el8.noarch.rpm                                                     505 kB/s | 123 kB     00:00
(5/9): python3-chardet-3.0.4-7.el8.noarch.rpm                                                       188 kB/s | 195 kB     00:01
(6/9): python3-urllib3-1.23-5.el8.noarch.rpm                                                        586 kB/s | 178 kB     00:00
(7/9): couch-js-1.8.5-21.el8.x86_64.rpm                                                             740 kB/s | 2.1 MB     00:02
(8/9): libicu-60.2-7.el8.x86_64.rpm                                                                 557 kB/s | 8.8 MB     00:16
(9/9): couchdb-2.3.1-1.el8.x86_64.rpm                                                               1.2 MB/s |  24 MB     00:20
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                               1.6 MB/s |  35 MB     00:22
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!

[root@be33776c0942 /]# # because this is Docker and systemd is not running:
[root@be33776c0942 /]# /opt/couchdb/bin/couchdb &
[1] 94
[root@be33776c0942 /]# curl localhost:5984
{"couchdb":"Welcome","version":"2.3.1","git_sha":"c298091a4","uuid":"0a36733d84b201682ad025265b360a45","features":["pluggable-storage-engines","scheduler"],"vendor":{"name":"The Apache Software Foundation"}}

I doubt there are further issues, but if there are, please let me know.

@konrad-ohms
Copy link
Author

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) <security@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"}}

@konrad-ohms
Copy link
Author

Just recognized, that it even works without enabling EPEL, even better :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants