From 80e06478b123ee88cc5410e40cc33fe25f4f108d Mon Sep 17 00:00:00 2001 From: Christian Pfanner Date: Thu, 19 Oct 2023 06:26:01 +0200 Subject: [PATCH 1/3] add amqp dep --- Dockerfile.pyinstaller | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.pyinstaller b/Dockerfile.pyinstaller index 1e237ca..323cdc7 100644 --- a/Dockerfile.pyinstaller +++ b/Dockerfile.pyinstaller @@ -21,4 +21,5 @@ RUN eval "$(pyenv init -)" && pyinstaller cli.py -y --onefile --name celery-expo --hidden-import=celery.loaders.app \ --hidden-import=celery.app.amqp \ --hidden-import=celery.app.control \ - --hidden-import=kombu.transport.redis + --hidden-import=kombu.transport.redis\ + --hidden-import=kombu.transport.pyamqp From 3839eca33830e1c8b5fa758fc612a0505b3dc1cb Mon Sep 17 00:00:00 2001 From: Christian Pfanner Date: Thu, 19 Oct 2023 06:30:44 +0200 Subject: [PATCH 2/3] buildinstaller script --- buildInstaller.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 buildInstaller.sh diff --git a/buildInstaller.sh b/buildInstaller.sh new file mode 100644 index 0000000..ccdea0e --- /dev/null +++ b/buildInstaller.sh @@ -0,0 +1,5 @@ +docker build -f Dockerfile.pyinstaller . -t cel-ex-builder +docker rm celex -f +docker run --name celex -d cel-ex-builder +rm celery-exporter +docker cp celex:/app/dist/celery-exporter . \ No newline at end of file From 0372269f48e48de2ff3b9937c369530f1c3f5740 Mon Sep 17 00:00:00 2001 From: Dani Hodovic Date: Fri, 1 Mar 2024 13:29:50 -0300 Subject: [PATCH 3/3] Update Dockerfile.pyinstaller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cédric Farcy --- Dockerfile.pyinstaller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.pyinstaller b/Dockerfile.pyinstaller index 323cdc7..136f2ff 100644 --- a/Dockerfile.pyinstaller +++ b/Dockerfile.pyinstaller @@ -21,5 +21,5 @@ RUN eval "$(pyenv init -)" && pyinstaller cli.py -y --onefile --name celery-expo --hidden-import=celery.loaders.app \ --hidden-import=celery.app.amqp \ --hidden-import=celery.app.control \ - --hidden-import=kombu.transport.redis\ + --hidden-import=kombu.transport.redis \ --hidden-import=kombu.transport.pyamqp