So I fixed this by adding to the dockerfile
RUN apt-get install -y lua-bitop
On Saturday, January 30, 2016 at 10:09:50 AM UTC-8, Simon Hill wrote:
>
> Hi guys. I need to use websocket support for the first time. Init error
> refers me to this page
> https://prosody.im/doc/depends#bitop
>
> I'm using your docker image, so presumably this is missing from your
> docker image? How can I add it to my dockerfile?
>
> Thank you...
>
> xmpp-1 | 2016-01-30T18:03:35.096661966Z general info
> Hello and welcome to Prosody version 0.10 nightly build 206 (2016-01-29,
> bd29742fa1ba)
>
> xmpp-1 | 2016-01-30T18:03:35.442988803Z modulemanager error
> Error initializing module 'websocket' on 'localhost':
> /usr/lib/prosody/net/websocket/frames.lua:13: No bit module found. See
> https://prosody.im/doc/depends#bitop
> xmpp-1 | 2016-01-30T18:03:35.442999549Z stack traceback:
> xmpp-1 | 2016-01-30T18:03:35.443005238Z
> /usr/lib/prosody/core/modulemanager.lua:30: in function
>
> xmpp-1 | 2016-01-30T18:03:35.443010958Z [C]: in function 'assert'
> xmpp-1 | 2016-01-30T18:03:35.443016052Z
> /usr/lib/prosody/net/websocket/frames.lua:13: in main chunk
> xmpp-1 | 2016-01-30T18:03:35.443021160Z [C]: in function '_real_require'
> xmpp-1 | 2016-01-30T18:03:35.443026282Z
> /usr/lib/prosody/../../bin/prosody:178: in function 'require'
> xmpp-1 | 2016-01-30T18:03:35.443031292Z
> /usr/lib/prosody/modules/mod_websocket.lua:21: in main chunk
> xmpp-1 | 2016-01-30T18:03:35.443036365Z (tail call): ?
> xmpp-1 | 2016-01-30T18:03:35.443041174Z [C]: in function 'xpcall'
> xmpp-1 | 2016-01-30T18:03:35.443045955Z
> /usr/lib/prosody/core/modulemanager.lua:30: in function 'pcall'
> xmpp-1 | 2016-01-30T18:03:35.443050913Z
> /usr/lib/prosody/core/modulemanager.lua:173: in function 'do_load_module'
> xmpp-1 | 2016-01-30T18:03:35.443055752Z
> /usr/lib/prosody/core/modulemanager.lua:251: in function 'load'
> xmpp-1 | 2016-01-30T18:03:35.443060474Z
> /usr/lib/prosody/core/modulemanager.lua:75: in function '?'
> xmpp-1 | 2016-01-30T18:03:35.443065270Z
> /usr/lib/prosody/util/events.lua:78: in function
>
> xmpp-1 | 2016-01-30T18:03:35.443070333Z (tail call): ?
> xmpp-1 | 2016-01-30T18:03:35.443074929Z
> /usr/lib/prosody/core/hostmanager.lua:113: in function 'activate'
> xmpp-1 | 2016-01-30T18:03:35.443086096Z
> /usr/lib/prosody/core/hostmanager.lua:59: in function '?'
> xmpp-1 | 2016-01-30T18:03:35.443094371Z
> /usr/lib/prosody/util/events.lua:78: in function
>
> xmpp-1 | 2016-01-30T18:03:35.443099629Z (tail call): ?
> xmpp-1 | 2016-01-30T18:03:35.443104408Z
> /usr/lib/prosody/../../bin/prosody:346: in function 'prepare_to_start'
> xmpp-1 | 2016-01-30T18:03:35.443109408Z
> /usr/lib/prosody/../../bin/prosody:414: in main chunk
> xmpp-1 | 2016-01-30T18:03:35.443114166Z [C]: ?
>
--
You received this message because you are subscribed to the Google Groups
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.