File tree Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Expand file tree Collapse file tree 5 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### New features
6
6
7
- * base: add ` ether_ip ` IOC and module . by @guirodrigueslima in
7
+ * base: add OPCUA and ` ether_ip ` IOCs and modules . by @guirodrigueslima in
8
8
https://github.com/cnpem/epics-in-docker/pull/57
9
9
10
10
## v0.7.0
Original file line number Diff line number Diff line change @@ -23,3 +23,5 @@ LIBSSCPIMEGA_VERSION=fb8acf533a7c01b5266bf32d60d1a5f923e19523
23
23
24
24
MOTOR_VERSION = R7-3-1
25
25
PMAC_VERSION = 2-6-1
26
+
27
+ OPCUA_VERSION = 0.9.4
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ RUN apt update -y && \
17
17
libtiff-dev \
18
18
libusb-1.0-0-dev \
19
19
libxml2-dev \
20
+ libssl-dev \
20
21
re2c \
21
22
wget \
22
23
ca-certificates
@@ -69,3 +70,9 @@ ARG PMAC_VERSION
69
70
70
71
COPY install_motor.sh .
71
72
RUN ./install_motor.sh
73
+
74
+ ARG DEBIAN_VERSION
75
+ ARG OPCUA_VERSION
76
+
77
+ COPY install_opcua.sh .
78
+ RUN ./install_opcua.sh
Original file line number Diff line number Diff line change @@ -30,3 +30,4 @@ services:
30
30
LIBSSCPIMEGA_VERSION : ${LIBSSCPIMEGA_VERSION}
31
31
MOTOR_VERSION : ${MOTOR_VERSION}
32
32
PMAC_VERSION : ${PMAC_VERSION}
33
+ OPCUA_VERSION : ${OPCUA_VERSION}
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -ex
4
+
5
+ . /opt/epics/install-functions.sh
6
+
7
+ opcua_release_url=https://github.com/epics-modules/opcua/releases/download/v${OPCUA_VERSION}
8
+ opcua_release_file=IOC_opcua-${OPCUA_VERSION} _Base-${EPICS_BASE_VERSION} _debian${DEBIAN_VERSION% .* } .tar.gz
9
+ lnls-get-n-unpack -l $opcua_release_url /$opcua_release_file
10
+
11
+ mv binaryOpcuaIoc opcua
12
+ install_module -i opcua OPCUA "
13
+ EPICS_BASE
14
+ "
15
+
16
+ EPICS_HOST_ARCH=` perl ${EPICS_BASE_PATH} /lib/perl/EpicsHostArch.pl`
17
+ ln -s ${EPICS_MODULES_PATH} /opcua/{opcuaIocApp/libopcua.so.0.9,lib/${EPICS_HOST_ARCH} /libopcua.so}
You can’t perform that action at this time.
0 commit comments