-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile
19 lines (19 loc) · 931 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ="Europe/Amsterdam"
RUN apt-get -y update && \
apt-get -y dist-upgrade && \
apt-get -y install gcc g++ cmake wget autoconf curl libcurl4-openssl-dev git libboost-date-time-dev libboost-regex-dev nlohmann-json3-dev libantlr4-runtime-dev libantlr4-runtime4.8 python3 && \
wget http://131.123.42.38/lmcrs/v1.0.0/srcml_1.0.0-1_ubuntu18.04.deb && \
apt-get -y install ./srcml_1.0.0-1_ubuntu18.04.deb && \
mkdir controller
COPY . /controller
RUN cd controller && \
wget -P /controller/licenseMatrix https://www.osadl.org/fileadmin/checklists/matrix.json && \
wget -P /controller/licenseMatrix https://www.osadl.org/fileadmin/checklists/matrixseqexpl.json && \
python3 /controller/licenseMatrix/createLicenseMatrix.py && \
mkdir build && \
cd build && \
cmake ../SearchSECOController && \
cmake --build .
ENTRYPOINT ["./controller/build/searchseco", "start"]