From 453e05fee6279b52024dec4d586f2b7ee8961bf5 Mon Sep 17 00:00:00 2001 From: Jacob Callahan Date: Thu, 22 Mar 2018 15:44:34 -0400 Subject: [PATCH] Add the ability to run robottelo in a container! This PR simply adds a Dockerfile, which enables local and automated builds of containerized robottelo. The container is based off Fedora 27 with Python 3.6.4 --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..1ce65b84087 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM fedora +MAINTAINER https://github.com/SatelliteQE + +RUN ln -s /usr/bin/python3 /usr/bin/python +RUN dnf install -y gcc git libffi-devel openssl-devel python3-devel \ + redhat-rpm-config which + +COPY / /robottelo/ +WORKDIR /robottelo + +RUN pip3 install -r requirements.txt + +CMD make test-robottelo