From 5411e69b9136702aa3f17572479e8e5f5d3758d6 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Thu, 10 Feb 2022 14:43:30 -0800 Subject: Update the docker containers To avoid proliferation of versions, I suggest the following policy: the oldest LTS release still receiving maintenance updates + the most recent release for distributions that offer LTS releases. For CentOS, this means CentOS7 and CentOS Stream 9 (since CentOS are all "long-term support", this is just the oldest and the newest among currently supported). For Ubuntu, this means Ubuntu 18.04 (previous LTS are in "security fixes only" mode) and Ubuntu 21.10. Recent Ubuntu attempts to be interactive during the configuration of tzdata, required some additional setup. In the common installation script, the logic for handling a configured/built local directory breaks if `gmake` is detected as the make binary; `make distclean` then fails inside the container because not all systems have `gmake` symlink. Remove that attempt of a workaround completely, just require that the host directory is clean. Signed-off-by: Alexey Neyman --- testing/docker/centos6/Dockerfile | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 testing/docker/centos6/Dockerfile (limited to 'testing/docker/centos6') diff --git a/testing/docker/centos6/Dockerfile b/testing/docker/centos6/Dockerfile deleted file mode 100644 index 736557b2..00000000 --- a/testing/docker/centos6/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM centos:6 -ARG CTNG_UID=1000 -ARG CTNG_GID=1000 -RUN groupadd -g $CTNG_GID ctng -RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng -RUN yum install -y epel-release -RUN yum install -y autoconf gperf bison flex texinfo help2man gcc-c++ libtool libtool-bin patch \ - ncurses-devel python34-devel perl-Thread-Queue bzip2 git wget xz unzip rsync -RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64 -RUN chmod a+x /sbin/dumb-init -RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile -# The limits in this file prevent su'ing to ctng user -RUN rm -f /etc/security/limits.d/90-nproc.conf -ENTRYPOINT [ "/sbin/dumb-init", "--" ] -- cgit v1.2.3