Skip to content

Commit 9af010c

Browse files
committed
Make it work with docker.com automated builds
1 parent 39aecf9 commit 9af010c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ FROM debian:9.5
33

44
# Update packages, then install lua
55
RUN apt-get update -qq
6-
RUN apt-get install -y lua5.3 luarocks liblua5.3-dev build-essential libssl-dev m4
6+
RUN apt-get install -y lua5.3 luarocks liblua5.3-dev build-essential libssl-dev m4 git
77

88
# Copy over our LUA libraries/runtime
99
COPY ./src /opt/executor
1010

11+
# Get the sdk repo if it doesn't exist
12+
WORKDIR /opt/executor
13+
RUN if [ ! -d "sdk-lua" ]; then git clone --depth 1 https://github.com/ProcessMaker/sdk-lua.git; fi
14+
1115
# Build the sdk and save it in luarocks default folder
1216
WORKDIR /opt/executor/sdk-lua
1317
RUN luarocks make --local

0 commit comments

Comments
 (0)