From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D899943D679 for ; Fri, 25 Oct 2019 14:18:44 +0300 (MSK) From: "Alexander V. Tikhonov" Date: Fri, 25 Oct 2019 14:18:41 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v3] Add CentOS 8 image dockerfile List-Id: Tarantool development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@freelists.org, tarantool-patches@dev.tarantool.org Added CentOS 8 image named as el-8 with the following differences from CentOS 7: (check https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index ) - added PowerTools repository as suggested at https://fedoraproject.org/wiki/EPEL - at CentOS 8 the localization environment changed to "C"; - removed curl which is allready installed at the parent image (needed by backport repository); - changed pygpgme to python3-gpg which was removed at CentOS 8 (check A.3. "Removed packages part") (needed by backport repository); - saved backport repository due to python2 still in use while CentOS 8 changed its packages to python3 and we need to backport python-gevent package; - cmake28 and cmake3 removed due to CentOS 8 installs 3.11 version; - removed devtoolset and scl* repositories due to devtoolset-8 is already in the standard repositories and scl* repositories still not available. --- centos/8/Dockerfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 centos/8/Dockerfile diff --git a/centos/8/Dockerfile b/centos/8/Dockerfile new file mode 100644 index 0000000..2f15e2c --- /dev/null +++ b/centos/8/Dockerfile @@ -0,0 +1,29 @@ +FROM centos:8 +MAINTAINER Alexander V. Tikhonov + +# Enable extra tools +RUN yum -y install wget yum-utils + +# Enable extra repositories +RUN yum -y install epel-release +# added PowerTools as suggested at: +# https://fedoraproject.org/wiki/EPEL +RUN dnf config-manager --set-enabled PowerTools + +# Repository for building/testing dependencies that are not present in vanilla +# CentOS and PowerTools / EPEL repositories, e.g. some Python 2 packages +# - fix missing locales +ENV LC_ALL="C" LANG="en_US.UTF-8" +# - add python3-gpg instead of pygpgme +RUN yum -y install python3-gpg +# - install the backport repository +RUN curl -s https://packagecloud.io/install/repositories/packpack/backports/script.rpm.sh | bash + +# Install base toolset +RUN yum -y groupinstall 'Development Tools' +RUN yum -y install \ + cmake \ + sudo + +# Enable sudo without tty +RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers -- 2.17.1