#4335 dev/containers/worker: fix python executable link
Closed 5 years ago by jlanda. Opened 5 years ago by jlanda.
jlanda/pagure fix-docker-worker  into  master

file modified
+2
@@ -17,6 +17,8 @@ 

  

  RUN dnf install -y python3-celery

  

+ RUN ln -sf /usr/bin/python3 /usr/bin/python

+ 

  WORKDIR /code

  ENTRYPOINT ["/usr/bin/celery-3", "-A", "pagure.lib.tasks", "worker", "--loglevel", "info"]

  

worker container does not have a /usr/bin/python and it crashes on some celery works

There arw more errors with the docker-compose based dev env so I'm xlosing this to group all the fixes in a single PR

Pull-Request has been closed by jlanda

5 years ago