synergy-service/packaging/docker/centos7/Dockerfile
Vincent Llorens 1989964add freeze the OpenStack version for CentOS
This only applies to the builder made using the Dockerfile.

Change-Id: I8cf1485c41fb3b7c86f0a57732f0dfdd5a3a556b
2016-04-29 15:31:19 +02:00

14 lines
453 B
Docker

FROM centos:7
MAINTAINER Vincent Llorens <vincent.llorens@cc.in2p3.fr>
RUN yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-liberty/rdo-release-liberty-3.noarch.rpm \
rpm-build \
python-devel \
python-setuptools \
&& yum update -y
RUN mkdir /tmp/synergy-service
RUN useradd -m -p pkger pkger
USER pkger
COPY build.sh /home/pkger/
WORKDIR /home/pkger/
CMD bash build.sh