This instance will be upgraded to Heptapod 0.21.0rc3 on 2021-04-23 at 10:30 UTC+2 (a few minutes of down time)

Commit ebb1e32b authored by Mathias De Mare's avatar Mathias De Mare

packaging: remove centos5 and centos6 support

Differential Revision: https://phab.mercurial-scm.org/D9292
parent e01ea8325859
......@@ -192,13 +192,9 @@ i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n/posplit i18n/hggettext
# Packaging targets
packaging_targets := \
centos5 \
centos6 \
centos7 \
centos8 \
deb \
docker-centos5 \
docker-centos6 \
docker-centos7 \
docker-centos8 \
docker-debian-bullseye \
......
......@@ -14,14 +14,12 @@ UBUNTU_CODENAMES := \
FEDORA_RELEASE := 31
CENTOS_RELEASES := \
5 \
6 \
7 \
8
# Build a Python for these CentOS releases.
CENTOS_WITH_PYTHON_RELEASES := 5 6
CENTOS_WITH_NONVERSIONED_PYTHON := 5 6 7
CENTOS_WITH_PYTHON_RELEASES :=
CENTOS_WITH_NONVERSIONED_PYTHON :=
help:
@echo 'Packaging Make Targets'
......
FROM centos:centos5
RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
RUN \
sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo && \
sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo && \
sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo
RUN yum install -y \
gcc \
gettext \
make \
python-devel \
python-docutils \
rpm-build \
tar
# For creating repo meta data
RUN yum install -y \
bzip2-devel \
createrepo \
ncurses-devel \
openssl-devel \
readline-devel \
zlib-devel
FROM centos:centos6
RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
RUN yum install -y \
gcc \
gettext \
make \
python-devel \
python-docutils \
rpm-build \
tar
# For creating repo meta data
RUN yum install -y createrepo
# For python
RUN yum install -y \
bzip2-devel \
ncurses-devel \
openssl-devel \
readline-devel \
zlib-devel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment