Skip to content

Added missing dependencies for docker build#2244

Open
eldur wants to merge 1 commit intobeancount:mainfrom
eldur:main
Open

Added missing dependencies for docker build#2244
eldur wants to merge 1 commit intobeancount:mainfrom
eldur:main

Conversation

@eldur
Copy link
Copy Markdown

@eldur eldur commented Mar 1, 2026

tried with
% docker build --no-cache -t fava .

tried with % docker build --no-cache -t fava .
@hosiet
Copy link
Copy Markdown
Contributor

hosiet commented Mar 1, 2026

Two issues:

  • Please use apt-get instead of apt for non-interactive operation.
  • Please clean up apt caches upon completion to reduce final image size.

It should be something like:

RUN apt-get update && apt-get install -y \ package1 \ package2 \ && rm -rf /var/lib/apt/lists/* 
@yagebu
Copy link
Copy Markdown
Member

yagebu commented Mar 2, 2026

I think we could also just stick to Python 3.13 for now, for which wheels of Beancount exist right now, which should avoid all these dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants