You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2021/08/26 10:44:38 UTC
[qpid-dispatch] branch main updated: DISPATCH-1966 Update top level
Dockerfile to CentOS 8 Stream (#1340)
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/main by this push:
new cdb51f9 DISPATCH-1966 Update top level Dockerfile to CentOS 8 Stream (#1340)
cdb51f9 is described below
commit cdb51f9c5ad678cf61cfcad6a6f842333acd633f
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Thu Aug 26 12:44:33 2021 +0200
DISPATCH-1966 Update top level Dockerfile to CentOS 8 Stream (#1340)
---
Dockerfile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 00dcd9c..7fa61a7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,17 +37,19 @@
################# Begin code #######
# Get the latest Centos version from dockerhub
-FROM centos:7
+FROM quay.io/centos/centos:stream8
MAINTAINER "dev@qpid.apache.org"
# Install all the required packages. Some in this list were picked off from proton's INSTALL.md (https://github.com/apache/qpid-proton/blob/main/INSTALL.md) and the rest are from dispatch (https://github.com/apache/qpid-dispatch/blob/main/README)
-# For centos, some packages are found in the epel repo, so first install access to it
-RUN yum -y install epel-release
+# Enable additional package repositories for CentOS
+# note: PowerTools is called CodeReady Linux Builder in RHEL 8
+RUN dnf -y install epel-release
+RUN dnf config-manager --set-enabled powertools
# now install the rest of the packages
-RUN yum -y install gcc gcc-c++ cmake libuuid-devel openssl-devel cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-gssapi cyrus-sasl-md5 swig python-devel java-1.8.0-openjdk-devel git make doxygen valgrind emacs libuv libuv-devel libwebsockets-devel && yum clean all -y
+RUN dnf -y install gcc gcc-c++ cmake libuuid-devel openssl-devel cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-gssapi cyrus-sasl-md5 swig python3-devel java-11-openjdk-devel git make doxygen valgrind emacs libuv libuv-devel libwebsockets-devel && dnf clean all -y
# Create a main directory and clone the qpid-proton repo from github
RUN mkdir /main && cd /main && git clone https://github.com/apache/qpid-proton.git && cd /main/qpid-proton && mkdir /main/qpid-proton/build
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org