]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
k8s: Fix dependence problem with upx package when the kubernetes-pod is created
authorfrancisco.garcia <francisco.garcia@baculasystems.com>
Wed, 19 Jul 2023 12:38:32 +0000 (14:38 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:01 +0000 (13:57 +0200)
The image of kubernetes pod is based from image python3.8-slim. This image is based from Debian 12. And upx binary (upx-ucl package provides it) only is available in: buster, bulleye and sid.

bacula/scripts/kubernetes-bacula-backup/Dockerfile.in

index f440403561bd79f5c7bbfdaab9bd936754a117eb..84ce9f3e5965eb2694fcfe85e8c5efa211daa90a 100644 (file)
@@ -21,7 +21,7 @@
 FROM python:3.8-slim AS build
 ADD requirements.txt /
 ADD baculatar.py /
-RUN apt-get update && apt-get -y install binutils upx && pip3 install -r requirements.txt
+RUN apt-get update && apt-get -y install binutils && pip3 install -r requirements.txt
 RUN pyinstaller --onefile baculatar.py
 
 FROM python:3.8-slim