Don Penney bdc25624d4 Update stx-centos dev repo config to stein
Update the yum repo config for the stx-centos dev base image
to point to the openstack-stein repo.

Change-Id: Ia84d49deca85b8b32e6925e8de1b0768f6334196
Story: 2005248
Task: 30694
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-05-01 18:25:41 -04:00

15 lines
296 B
Docker

# Expected build arguments:
# RELEASE: centos release
#
ARG RELEASE=7.5.1804
FROM centos:${RELEASE}
RUN set -ex ;\
sed -i '/\[main\]/ atimeout=120' /etc/yum.conf ;\
yum install -y centos-release-openstack-stein ;\
rm -rf \
/var/log/* \
/tmp/* \
/var/tmp/*