File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:19 .04
1
+ FROM ubuntu:20 .04
2
2
3
3
RUN set -x \
4
4
&& apt-get update \
5
+ # install tzdata to avoid interaction?
6
+ && apt-get install -y tzdata \
5
7
# Install dependencies for Ravi, Torch, luaossl
6
8
# libgomp1 is OpenMP library needed by Torch
7
9
&& apt-get install -y libopenblas-dev libreadline-dev libuv1-dev libssl-dev libgomp1 \
Original file line number Diff line number Diff line change @@ -4,12 +4,18 @@ RUN set -x \
4
4
apk add --no-cache libstdc++ \
5
5
&& apk add --no-cache --virtual .build-deps git build-base libtool curl make cmake \
6
6
&& apk add --no-cache openblas-dev readline-dev openssl-dev libgomp libuv-dev \
7
- && mkdir /sources \
8
- && cd /sources \
9
- && git clone https://github.com/dibyendumajumdar/Suravi.git \
10
- && cd /sources/ Suravi \
11
- && git submodule update --init --recursive \
12
- && sh build/linux_build.sh \
13
- && rm -rf /sources \
7
+ && mkdir /Software \
8
+ && mkdir -p ${HOME} /sources \
9
+ && cd ${HOME}/sources \
10
+ && git clone --recurse-submodules https://github.com/dibyendumajumdar/ Suravi.git \
11
+ && cd ${HOME}/sources/Suravi \
12
+ && sh build/linux_build.sh /Software/ravi \
13
+ && rm -rf ${HOME} /sources \
14
14
&& apk del .build-deps
15
15
16
+ ENV PATH /Software/ravi/bin:${PATH}
17
+ ENV LD_LIBRARY_PATH /Software/ravi/lib64:${LD_LIBRARY_PATH}
18
+ ENV LUA_PATH /Software/ravi/share/lua/5.3/?.lua;/Software/ravi/share/lua/5.3/?/init.lua;./?.lua;./?/init.lua
19
+ ENV LUA_CPATH /Software/ravi/lib/?.so;/Software/ravi/lib/lib?.so
20
+
21
+ WORKDIR /Software/ravi
You can’t perform that action at this time.
0 commit comments