forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (31 loc) · 916 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ARG BASIS=ubuntu:bionic
FROM $BASIS
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
cmake \
curl \
g++ \
make \
libxerces-c-dev \
libssl-dev \
perl-base \
perl-modules \
git
ADD . /opt/OpenDDS
ARG ACE_CONFIG_OPTION="--doc-group"
RUN cd /opt/OpenDDS && \
./configure --prefix=/usr/local --security ${ACE_CONFIG_OPTION} && \
./tools/scripts/show_build_config.pl && \
make && \
make install && \
ldconfig && \
. /opt/OpenDDS/setenv.sh && \
cp -a ${MPC_ROOT} /usr/local/share/MPC
ENV ACE_ROOT=/usr/local/share/ace \
TAO_ROOT=/usr/local/share/tao \
DDS_ROOT=/usr/local/share/dds \
MPC_ROOT=/usr/local/share/MPC \
PATH=".:/usr/local/share/ace/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
WORKDIR /opt/OpenDDS/tests/DCPS/Messenger
RUN mwc.pl -type gnuace && make
WORKDIR /opt/workspace