Skip to content
Snippets Groups Projects
Commit 362def1d authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-329-User_repository_version_of_open62541_lib' into 'master'

L2SS-329: Use repository version of open62541 lib

Closes L2SS-329

See merge request !90
parents 29dd72ae 7252bc01
No related branches found
No related tags found
1 merge request!90L2SS-329: Use repository version of open62541 lib
FROM ubuntu:20.04 FROM ubuntu:20.04
# Install build tools for sdptr and the C language OPC-UA lib
RUN apt-get update && \ 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 && \ DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common && \
DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:open62541-team/ppa && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf automake git make g++ build-essential pkg-config libboost-dev libboost-regex-dev libboost-system-dev libboost-program-options-dev libopen62541-1-dev libopen62541-1-tools && \
apt-get clean 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 # Install SDPTR
RUN cd / && git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/sdptr RUN cd / && git clone --depth 1 --branch master https://git.astron.nl/lofar2.0/sdptr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment