Skip to content
Snippets Groups Projects
Unverified Commit 63223801 authored by Vincent Brillault's avatar Vincent Brillault
Browse files

Install packages in /opt

parent bd25f3af
Branches master
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment