-
Notifications
You must be signed in to change notification settings - Fork 17
/
Dockerfile
27 lines (22 loc) · 849 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
FROM yottadb/yottadb-base:latest-master
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y libcurl4-openssl-dev git make gcc
# Install cURL plugin
RUN git clone https://github.com/shabiel/fis-gtm-plugins.git
ENV LD_LIBRARY_PATH /opt/yottadb/current
ENV ydb_chset utf-8
RUN cd fis-gtm-plugins/libcurl && \
. /opt/yottadb/current/ydb_env_set && \
make install
# Install M-Unit
RUN git clone https://github.com/ChristopherEdwards/M-Unit.git munit
RUN cd munit && \
mkdir r && \
cd Routines && \
for file in _*.m; do mv $file /data/munit/r/; done
# Install M-Web-Server
COPY ./src /mwebserver/r
ENV GTMXC_libcurl "/opt/yottadb/current/plugin/libcurl_ydb_wrapper.xc"
ENV ydb_routines "/data/r1.35_x86_64/o*(/mwebserver/r /data/munit/r)"
RUN . /opt/yottadb/current/ydb_env_set && \
mumps -r ^%webtest