2017-02-23 21:34:12 +01:00
|
|
|
FROM centos:7
|
|
|
|
|
|
|
|
MAINTAINER RightBrain Networks "ops+docker@rightbrainnetworks.com"
|
|
|
|
|
|
|
|
RUN yum update -y && yum install -y epel-release
|
|
|
|
|
|
|
|
RUN yum install -y git
|
|
|
|
|
|
|
|
RUN yum install -y python-pip
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
|
|
|
|
RUN useradd -d /semver semver
|
|
|
|
WORKDIR /semver
|
|
|
|
|
|
|
|
ADD ./ /semver
|
2018-05-25 22:08:38 +02:00
|
|
|
RUN chmod -R +r /semver && chmod +x /semver
|
2017-02-23 21:34:12 +01:00
|
|
|
|
2018-05-25 20:35:40 +02:00
|
|
|
RUN pip install -e .
|
2017-02-23 21:34:12 +01:00
|
|
|
|
2018-05-23 21:09:14 +02:00
|
|
|
CMD semver && semver_get_version
|