Commit ff26ea38 authored by Furkan Mustafa's avatar Furkan Mustafa

ci: Dockerfile updates and ./ build_daemon_image command

parent 20f56ec4
FROM centos:7
FROM python:3-jessie
LABEL maintainer=""
RUN apt-get update && apt-get -y install \
--no-install-recommends \
python3-pip git curl make
LABEL maintainer=""
RUN yum install -y epel-release; \
yum install -y gcc yum-utils device-mapper-persistent-data lvm2;
RUN yum -y install
RUN yum -y install python36u python36u-pip python36u-devel
RUN mkdir /src
RUN ln -s /usr/bin/pip3.6 /usr/bin/pip
# Install bats
ADD beiran/requirements.txt /src/r-lib.txt
RUN pip3 install -r /src/r-lib.txt
RUN yum-config-manager \
--add-repo \;
ADD [ "beiran", "/src" ]
RUN yum install -y docker-ce
ADD beiran-cli/requirements.txt /src/r-cli.txt
RUN pip3 install -r /src/r-cli.txt
RUN mkdir /src
ADD [ "beiran-cli", "/src" ]
ADD [ "requirements.txt", "/src"]
#RUN pip3.6 install --upgrade pip
RUN pip install -r requirements.txt
ADD beirand/requirements.txt /src/r-daemon.txt
RUN pip3 install -r /src/r-daemon.txt
ADD [ "beirand", "/src" ]
VOLUME /var/lib/docker
CMD ["bash"]
\ No newline at end of file
CMD [ "python3 /src/beirand/beirand/" ]
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