xmarvl
xmarvl
SMSoftware Mansion
Created by xmarvl on 4/23/2025 in #membrane-help
Docker image with membrane_webrtc_plugin
Hi! I have some issues with running a Phoenix app in a Debian-based docker. Whereas it can be built, when I am running it, it crashes:
=CRASH REPORT==== 23-Apr-2025::21:25:12.868807 ===
crasher:
initial call: supervisor:kernel/1
pid: <0.3186.0>
registered_name: []
exception exit: {on_load_function_failed,
'Elixir.Membrane.VPx.Decoder.Native.Nif',abort}
in function init:run_on_load_handlers/0
in call from kernel:init/1 (kernel.erl, line 196)
in call from supervisor:init/1 (supervisor.erl, line 330)
in call from gen_server:init_it/2 (gen_server.erl, line 851)
in call from gen_server:init_it/6 (gen_server.erl, line 814)
ancestors: [kernel_sup,<0.3160.0>]
message_queue_len: 0
messages: []
links: [<0.3162.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 187
neighbours:
=CRASH REPORT==== 23-Apr-2025::21:25:12.868807 ===
crasher:
initial call: supervisor:kernel/1
pid: <0.3186.0>
registered_name: []
exception exit: {on_load_function_failed,
'Elixir.Membrane.VPx.Decoder.Native.Nif',abort}
in function init:run_on_load_handlers/0
in call from kernel:init/1 (kernel.erl, line 196)
in call from supervisor:init/1 (supervisor.erl, line 330)
in call from gen_server:init_it/2 (gen_server.erl, line 851)
in call from gen_server:init_it/6 (gen_server.erl, line 814)
ancestors: [kernel_sup,<0.3160.0>]
message_queue_len: 0
messages: []
links: [<0.3162.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 376
stack_size: 28
reductions: 187
neighbours:
I am using Debian bullseye-20250407-slim and I am installing the following dependencies for the runner machine:
RUN apt-get update -y && \
apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates ffmpeg libvpx-dev libvpx6 \
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
RUN apt-get update -y && \
apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates ffmpeg libvpx-dev libvpx6 \
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
2 replies