view contrib/packaging/docker/centos5 @ 40827:d23fd01cc115

commandserver: add config knob for various logging options The default rotating options are copied from the blackbox extension.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 18 Nov 2018 19:47:04 +0900
parents 11eda1f1b6e7
children 4c0d4bbdc395
line wrap: on
line source

FROM centos:centos5

RUN groupadd -g 1000 build && \
    useradd -u 1000 -g 1000 -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