DigitalShoestringSolutions / InventoryManagement

Shoestring starter solution for a simple inventory management system
GNU General Public License v3.0
0 stars 1 forks source link

pip install fails #12

Closed tobyaharris closed 4 months ago

tobyaharris commented 4 months ago

Tests on stable and development this morning fail at docker compose build.

 => ERROR [web 4/7] RUN pip install --upgrade pip && pip install -r requirements.txt                                                                                                                                                     0.4s
------                                                                                                                                                                                                                                        
 > [web 4/7] RUN pip install --upgrade pip && pip install -r requirements.txt:
0.294 /bin/sh: error while loading shared libraries: libc.so.6: ELF load command address/offset not page-aligned
------
failed to solve: process "/bin/sh -c pip install --upgrade pip && pip install -r requirements.txt" did not complete successfully: exit code: 127

Perhaps the requirements versioning issue is relevant

tobyaharris commented 4 months ago

In quick testing none of the below fix this issue:

tobyaharris commented 4 months ago

It's because the dockerfile specifies arm32 (bit), I'm working on a 64bit system. I propose using the base image python:3.8 which will adapt to the hardware used.

tobyaharris commented 4 months ago

Fixed in PR#13