mediagoblin-devel
[Top][All Lists]
Advanced

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

Re: Build refactor and dockerisation of Mediagoblin


From: jgart
Subject: Re: Build refactor and dockerisation of Mediagoblin
Date: Sun, 26 Jun 2022 11:15:05 -0500

On Sat, 25 Jun 2022 21:27:46 -0700 Dan Helfman <witten@torsion.org> 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 
> > soonish.
> > 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 
> <https://hub.docker.com/r/witten/mediagoblin/tags> 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 
> <https://projects.torsion.org/witten/mediagoblin-docker/src/branch/master/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,

jgart



reply via email to

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