These are chat archives for mirumee/saleor

5th
Jul 2018
zchlebicki
@zchlebicki
Jul 05 2018 14:18
My Saleor Docker was not building. I got it to work by adding RUN pip install --upgrade virtualenv
zchlebicki
@zchlebicki
Jul 05 2018 14:31
Actually not, there are still some problems.
Patryk Zawadzki
@patrys
Jul 05 2018 14:31
you should not have to modify the dockerfile
zchlebicki
@zchlebicki
Jul 05 2018 14:33
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
During Step 4/29 : RUN virtualenv -p python3 /app/virtualenv
Patryk Zawadzki
@patrys
Jul 05 2018 14:36
can you replace this line with RUN python3 -m venv /app/virtualenv and see if it changes anything?
zchlebicki
@zchlebicki
Jul 05 2018 14:39
It's building now.
It got built, but doesn't start web_1 | /app/virtualenv/bin/uwsgi: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
zchlebicki
@zchlebicki
Jul 05 2018 14:46
This is probably a separate issue.
NyanKiyoshi
@NyanKiyoshi
Jul 05 2018 14:46
libssl1.0.0 missing?
zchlebicki
@zchlebicki
Jul 05 2018 14:46
libssl1.1 is explicitly in Dockerfile
NyanKiyoshi
@NyanKiyoshi
Jul 05 2018 14:47
Try to run RUN apt-get install -y libssl1.0.0
zchlebicki
@zchlebicki
Jul 05 2018 14:48

Package libssl1.0.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0.0' has no installation candidate

NyanKiyoshi
@NyanKiyoshi
Jul 05 2018 14:51
Maybe we could create a symbolic link from libssl 1.1 to 1.0.0 in the shared library?
zchlebicki
@zchlebicki
Jul 05 2018 14:52
I will check if I can update uwsgi
Patryk Zawadzki
@patrys
Jul 05 2018 14:55
I’ve submitted a PR to get rid of the virtualenv package
can you check if you’re using the latest docker images?
docker images will show you the hashes that you can compare with https://hub.docker.com/_/python/
zchlebicki
@zchlebicki
Jul 05 2018 14:56
I merged with master today
Patryk Zawadzki
@patrys
Jul 05 2018 14:56
I mean docker images
these are not part of our repository
zchlebicki
@zchlebicki
Jul 05 2018 14:57
python 3.6-slim 3197d7cc706b 36 hours ago 138MB
zchlebicki
@zchlebicki
Jul 05 2018 15:05
I can't find any hashes on your link, however.
zchlebicki
@zchlebicki
Jul 05 2018 15:18
It's not the one, for building virtualenv python:36 is used, for some reason.
not python:3.6-slim
and for this one I in fact have an old version
Patryk Zawadzki
@patrys
Jul 05 2018 15:24
you can try docker pull python:3.6 and docker pull python:3.6-slim to fetch the latest images
it’s possible that you have the pre-stretch ones
zchlebicki
@zchlebicki
Jul 05 2018 15:32
Thanks, it is running now.