We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39aecf9 commit 9af010cCopy full SHA for 9af010c
Dockerfile
@@ -3,11 +3,15 @@ FROM debian:9.5
3
4
# Update packages, then install lua
5
RUN apt-get update -qq
6
-RUN apt-get install -y lua5.3 luarocks liblua5.3-dev build-essential libssl-dev m4
+RUN apt-get install -y lua5.3 luarocks liblua5.3-dev build-essential libssl-dev m4 git
7
8
# Copy over our LUA libraries/runtime
9
COPY ./src /opt/executor
10
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
+
15
# Build the sdk and save it in luarocks default folder
16
WORKDIR /opt/executor/sdk-lua
17
RUN luarocks make --local
0 commit comments