Commit Graph

17 Commits

Author SHA1 Message Date
pataquets
0383439bf1 MAINT(Dockerfile): Pin base images to Ubuntu Focal (LTS). 2021-08-08 23:23:49 +02:00
pataquets
6f7d7f9bac MAINT(Dockerfile): Dockerfile improvements.
* 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.
2021-08-05 21:49:27 +02:00
pataquets
98feed2e02 MAINT(Dockerfile): Make 'git submodule update' to be recursive. 2021-07-30 23:43:43 +02:00
pataquets
30b00cd41d MAINT(Dockerfile): Prevent Docker build from failing due to git submodules not updated. 2021-07-30 20:30:22 +02:00
Robert Adam
f3903f906c
Merge PR #5175: MAINT(docker): added frequently used sql drivers 2021-07-12 09:04:27 +02:00
JuniorJPDJ
2567c5e36b MAINT(docker): added frequently used sql drivers 2021-07-12 06:45:49 +02:00
Denis Zygann
16a2ec2886 MAINT(docker): Update server executable name
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
2021-07-11 22:09:30 +02:00
Chessmaster
83bce9078d MAINT(docker): added missing sql driver
Closes #4755
2021-02-13 16:59:59 +01:00
Justin Goette
d45b8d1e38 MAINT: Reduce Docker size image
Running rm [...] in a separate RUN command inside the Dockerfile does
not have the desired effect due to the way Docker layers work (see
https://cloud.google.com/solutions/best-practices-for-building-containers#reduce_the_amount_of_clutter_in_your_image)
2020-12-02 09:31:09 +01:00
Robert Adam
6439b6d9c5 MAINT: Don't install qtcreator via Dockerfile
The Qt Creator IDE should not be needed in the Docker image at all.
2020-11-29 12:20:43 +01:00
Robert Adam
32dfd08721 MAINT: Fix Dockerfile
The Dockerfile contained instructions at the wrong position causing it
to not work properly (it didn't install the necessary dependencies).

Fixes #4600
2020-11-29 12:20:35 +01:00
Justin Goette
156eecd7ae MAINT: Potentially reduce Docker container size
Add "--no-install-recommends" and "rm -rf /var/lib/apt/lists/*" for
potential image size reduction.

See:
https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends
https://cloud.google.com/solutions/best-practices-for-building-containers#reduce_the_amount_of_clutter_in_your_image
2020-11-21 20:14:07 +01:00
Robert Adam
7d91ed4cd8 MAINT(docker): Add ca-certificates package
As requested in #4549 this commit adds the ca-certificates package to
the Dockerfile in order to use Certified Authorities with Mumble.

Fixes #4549
2020-10-29 08:59:59 +01:00
Bartosz Zieba
cde667d5a4 BUILD(docker): Updated Dockerfile to use CMake
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
2020-10-05 10:39:56 +02:00
hwipl
2a83c13a22 Dockerfile: use regex for protobuf and grpc package names
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>
2020-04-18 16:15:41 +02:00
hwipl
d75efe0eac Dockerfile: update ubuntu version to latest
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>
2020-04-18 11:49:25 +02:00
Graeme Lawes
041136de64 Build/package murmur in a docker image
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>
2019-05-09 09:55:00 -04:00