From 63223801be8591d9a90eed73cd88dc232313141f Mon Sep 17 00:00:00 2001 From: Vincent Brillault <vincent.brillault@cern.ch> Date: Mon, 17 Oct 2016 09:47:02 +0200 Subject: [PATCH] Install packages in /opt --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a907bb..6391eec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,6 @@ FROM centos:latest MAINTAINER "CERN IT-DI-CSO <computer.security@cern.ch>" -# -# Helpful variables -# -ENV basedir /opt - # # Install with YUM: # - Epel Repo @@ -57,6 +52,7 @@ RUN yum -y install epel-release && \ # RUN pip install --upgrade pip && pip install cpplint +WORKDIR /opt # # Install FindBugs @@ -92,14 +88,14 @@ RUN wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.5.1/pmd-b # # Install RATS # -WORKDIR $basedir RUN wget http://fossies.org/linux/privat/rats-2.4.tgz && \ tar -xzf rats-2.4.tgz && \ rm -f rats-2.4.tgz && \ cd rats-2.4 && \ ./configure && \ make && \ - make install + make install && \ + cd .. # # Finish -- GitLab