* Dump CMake logs on failure.
* Set DEBIAN_FRONTEND=noninteractive for apt-get on final image.
* Use ARG instead of ENV to prevent variable persisting after build (it can't be assumed that apt-get won't be invoked interactively from a running container).
* Add verbosity to mkdir and chown. Might come handy in diagnosing failures.
* A bit of cleanup after package install (apt-get clean).
* Remove reference to 'disco' distribution (no longer true) from comments.
The Dockerfile was still referencing the old name (Murmur)
for the server executable but this has changed to mumble-server
by now causing the Dockerfile to error.
Fixes#5171
The change fixes issue #4514.
Change was required, because we moved Mumble project to CMake, but Dockerfile was not updated and did not want to build.
Fixes#4514
The latest Ubuntu LTS Docker image is version 18.04 and will switch to
version 20.04 soon. The package names of libprotobuf and libgrpc differ
in version 18.04 and 20.04. As suggested by Bartosz Zieba, this patch
uses regex for installing these packages to make the Dockerfile work
with both LTS versions.
Co-authored-by: Bartosz Zieba <bartosz@zieba.pro>
Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
Building a docker image with the current Dockerfile seems to run into
issues caused by not finding files on the Ubuntu disco repositories
anymore. So, this patch updates the Ubuntu version in the Dockerfile
from disco to latest.
Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
Built in ubuntu:disco, packed in clean ubuntu:disco image with runtime
dependencies using multistage build
Resolves#3688
Signed-off-by: Graeme Lawes <graemelawes@gmail.com>