Very small docker container for JMusicBot based on its Nixpkgs derivation or built from source. The image is built using Nix's buildLayeredImage
and uploaded to this repository's package registry.
The total image size (uncompressed) is about 112 MB. This is achieved by using a custom-built JRE, which is built with musl and only using a minimal set of standard modules.
- Copy
docker-compose.example.yml
to an empty directory and rename it todocker-compose.yml
- Create or copy your JMusicBot
config.txt
file (see the official wiki) - Edit the
volumes
part of your newly copieddocker-compose.yml
to match the path of yourconfig.txt
file (default path:./config/config.txt
) docker compose up -d
There are 4 image tags to choose from:
Tag | JMusicBot version |
---|---|
master |
latest commit to master branch (compiled from source) (does not work at the moment, use master_fixed ) |
master-fixed |
like master , but with patches to fix compiling and 403 errors |
latest |
latest JMusicBot stable release |
stable release, e.g. 0.4.3 |
that specific JMusicBot release version |
Using latest
is recommended, as it is the latest officially released version. master
or master-fixed
are updated each day to match the latest upstream commit, but may be less stable.