Skip to content

Commit c80edab

Browse files
authored
Update Dockerfile to include JSON library and command
1 parent ed25b36 commit c80edab

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
FROM opensuse/tumbleweed:latest
2+
23
RUN zypper refresh && \
34
zypper --non-interactive install lua54
5+
46
WORKDIR /app
5-
COPY . .
6-
CMD [ "lua5.4" ]
7+
8+
COPY json/ .
9+
10+
ENV LUA_PATH="./?.lua;;"
11+
12+
CMD [ "lua5.4", "-e", "local j = require('json'); print('JSON Library Loaded Successfully inside Tumbleweed!')" ]

0 commit comments

Comments
 (0)