A Docker image based on Ubuntu, with Erlang, Elixir, Node.js and libraries necessary to test and run the Membrane Framework.
Image has been moved to membraneframeworklabs
This image comes in many flavours, based on different Ubuntu releases and package versions:
latest
,focal
- based on Ubuntu 20.04bionic
- based on Ubuntu 18.04, deprecated
Package | bionic | focal | jammy |
---|---|---|---|
Erlang | 21.3 and 22.2 | 25.2.3 | 27.0 |
Elixir | 1.9.4 | 1.14.3 | 1.17.2 |
Node.js | - | 14.16.1 | 16.17.0 |
Rust | - | 1.65.0 | 1.70.0 |
FFmpeg | 4.2.2 | 4.2.2 | 4.4.2 |
SDL2 | ? | ? | 2.0.20 |
FDK AAC | 2.0 | 2.0 | 2.0.0 |
Portaudio | 19.6.0 | 19.6.0 | 19.6.0 |
MAD | 0.15.1 | 0.15.1 | 0.15.1 |
FLAC | 1.3.2 | 1.3.2 | 1.3.3 |
Opus | 1.1.2 | 1.1.2 | 1.3.1 |
libsrtp2 | - | 2.3.0 | 2.4.2 |
libnice | - | master (833c1aa) | - |
libmp3lame | - | 3.100 | 3.100 |
These images contain multiple (Erlang, Elixir, Node.js) versions, managed with asdf. You can specify which one should be selected by running: asdf global erlang <version>
or asdf global elixir <version>
in your script.
Image | Erlang | Elixir | Node.js | Rust |
---|---|---|---|---|
jammy | 27.0 | 1.17.2 | 16.17.0 | 1.63.0 |
focal | 25.2.3 | 1.14.3 | 16.17.0 | 1.63.0 |
bionic | 22.2 | 1.9.4 | - | - |
To rebuild the image, run the following command:
make build
Optionally, one can add the following variables:
VERSION=string
, which adds the variant tag. Set tolatest
by default.FLAVOR=string
, which selects the flavor (subdirectory of this repository) to build. Set tofocal
by default.IMAGE=name
, which will override the default image name. If not specified, this is set tomembrane/membrane
Execute the following command while being in your application directory:
make run
or from anywhere:
DIR=/my/app/directory make run
This will start the container with the application directory mapped to /app
. Inside the container, go to that directory:
cd /app
and execute your app's code (for example tests)
mix test
Copyright 2019, Software Mansion
Licensed under the Apache License, Version 2.0