Skip to content

how about putting cjson module into this image #1

@cong-lian

Description

@cong-lian

Hi thank you for the great job. currently I am using this image to run wrk2 benchmark, and I use lua script, inside which I need to parse the response body, which is a json format. so my script require cjson.

but unluckily, I got the following errors, guess I have to install wrk2 locally.
So as the title suggests, what about adding cjson into it?

/benchmark/put.lua: /benchmark/put.lua:2: module 'cjson' not found:
no field package.preload['cjson']
no file './cjson.lua'
no file '/usr/local/share/luajit-2.0.3/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson/init.lua'
no file './cjson.so'
no file '/usr/local/lib/lua/5.1/cjson.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
/benchmark/put.lua: /benchmark/put.lua:2: module 'cjson' not found:
no field package.preload['cjson']
no file './cjson.lua'
no file '/usr/local/share/luajit-2.0.3/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson.lua'
no file '/usr/local/share/lua/5.1/cjson/init.lua'
no file './cjson.so'
no file '/usr/local/lib/lua/5.1/cjson.so'
no file '/usr/local/lib/lua/5.1/loadall.so'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions