1 ##############################################################################
3 ##############################################################################
4 # Copyright (c) 2017 Luke Hinds <lhinds@redhat.com>, Red Hat
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
13 MAINTAINER Luke Hinds <lhinds@redhat.com>
14 LABEL version="0.1" description="Anteater - OPNFV Gerrit Security Gate Checks"
16 # environment variables
20 ENV ANT_HOME ${HOME}/anteater
21 RUN mkdir -p ${ANT_HOME}
23 # Packaged dependencies
24 RUN yum -y install epel-release
26 RUN yum -y install git python-devel python-pip
29 # Commands to clone and install
30 RUN git clone https://gerrit.opnfv.org/gerrit/releng-anteater ${ANT_HOME}
32 RUN /usr/bin/pip install -r ${ANT_HOME}/requirements.txt
33 RUN python ${ANT_HOME}/setup.py install