[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build refactor and dockerisation of Mediagoblin

From: Dan Helfman
Subject: Re: Build refactor and dockerisation of Mediagoblin
Date: Sun, 26 Jun 2022 09:28:22 -0700

On 6/26/22 9:15 AM, jgart wrote:
On Sat, 25 Jun 2022 21:27:46 -0700 Dan Helfman <> wrote:
Olivier Mehani wrote:

I resorted to building from debian:bullseye-slim, which has Python 
3.9. Due to the use of ABC.Collections, Mediagoblin is currently not 
compatible with Python 3.10. Another fix that we'll have to work on 
This leaves us with a ~1GiB image, which is not ideal, but hard to 
beat as Gstreamer's dependencies run deep, all the way down to 
systemd. This is quite useless in a container, but installed through 
transitive package requirements nonetheless. 
I have a MediaGoblin image 
<> I've been using in 
"production" for a while, also based on Debian and Python 3.9, that's 
closer to 842 MB uncompressed and 329 MB compressed. Might be worth 
borrowing from its Dockerfile 
if you want to slim down your image some. It's entirely possible there 
are additional things that could be cut out, too.
Hi Dan,

How are you running that image? Can you share a snippet. I'd like to test it.

all best,


The README includes an example Docker invocation, but I run it in production with Docker Compose (via Ansible). If you wanted to use only Compose with it, you could lift out those service definitions and inline the Ansible variables (defined here and here except for the credentials).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]