[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error install mediagoblin using docker
From: |
Jesús E . |
Subject: |
Re: Error install mediagoblin using docker |
Date: |
Thu, 4 Mar 2021 22:21:27 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 |
On 04/03/21 15:58, irene@disroot.org wrote:
> I have tried to install mediagoblin with docker but I get the error over and
> over again.
>
> $ docker --version
> Docker version 20.10.4, build
>
> $ docker build --tag mediagoblin -f Dockerfile-debian-python3-sqlite .
> ...
> Best match: py-bcrypt 0.4
> Processing py-bcrypt-0.4.tar.gz
> Writing /tmp/easy_install-dp9tf1e6/py-bcrypt-0.4/setup.cfg
> Running py-bcrypt-0.4/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-dp9tf1e6/py-bcrypt-0.4/egg-dist-tmp-cnyl82x_
> error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed
> with exit status 1
> make: *** [Makefile:119: bin/python] Error 1
> The command '/bin/sh -c make' returned a non-zero code: 2
>
It's a debian:buster distro issue, you can change the
Dockerfile-debian-python3-sqlite file to debian:sid and it should work.
It's also necessary to add missing dependencies[0] in setup.py, you can
guide yourself from a fork I made.
[0]:
https://git.sr.ht/~heckyel/mediagoblin/commit/e3d4c16ca3809bf45b45aa3c1d86f173fd2b0cf3
--
~ Jesús E.
Hyperbola Project, Developer and Security Team
4DF2 1B6A 7C10 21B2 5C36
0914 F6EE 7BC5 9A31 5766
signature.asc
Description: OpenPGP digital signature