slimtoolkit / slimtoolkit/slim

minified image falling with ModuleNotFoundError

Open
#224 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
Go
Stars
23.4k
Forks
841
PR merge metrics
No merged PRs in 30d

Description

Expected Behavior

I'm using this project and trying to minify the image and then run it . But when I'm changing the .slim image in the docker-compose file the project is falling with ModuleNotFoundError: No module named 'jinja2.ext' error.


Actual Behavior

The project works fine when I am not using the .slim image


Steps to Reproduce the Problem

  1. change the normal image with .slim image in docker-compose file
  2. Run docker-compose up
  3. project is not running

Specifications

  • Version: 1.37.0
  • Platform: Debian 5.10.46-4kali1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked rsvpapp project and its docker-compose file, then reproduce the failure using the normal and .slim images with the reported version and platform. Trace the ModuleNotFoundError for jinja2.ext and compare the image environments; done means a confirmed cause and a verified fix or documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, python
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.