Skip to content
Snippets Groups Projects

Resolve L2SS-230 "Add sdp sim"

Merged Jan David Mol requested to merge L2SS-230-add-sdp-sim into master
All threads resolved!
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 26
0
FROM ubuntu:20.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf automake git make g++ build-essential pkg-config cmake python liburcu-dev libmbedtls-dev libsubunit-dev libboost-dev libboost-regex-dev libboost-system-dev libboost-program-options-dev && \
apt-get clean
# Install OPC-UA lib
RUN git clone --depth 1 --branch 1.2 https://github.com/open62541/open62541 && \
cd /open62541 && \
git submodule update --init --recursive && \
mkdir build && cd build && \
bash -c "cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL -DUA_MULTITHREADING=100 && make -j `nproc` install"
# Update shared library cache
RUN ldconfig
# Install SDPTR
+1
RUN cd / && git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/sdptr
RUN cd /sdptr && \
autoreconf -v -f -i && \
./configure && \
bash -c "make -j `nproc` install"
WORKDIR /sdptr/src
CMD ["sdptr", "--configfile=uniboard.conf", "--nodaemon"]
Loading