You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.
Issue
I need to install some dependencies in the entrypoint of my docker container. The main dependencies are installed when building the image, some additional packages (groups) are installed later. For a colored logging output, I activated tty: true in my docker-compose.
Problem: poetry install in a docker entrypoint script does not install the packages. It detects, that some packages need to be installed (Package operations: 3 installs, 0 updates, 0 removals), but it does not install them. There is no error message (even not in verbose mode). poetry show lists them as red.
Entering the running container, it is possible to install the missing packages.
When deactivating tty (default) in docker-compose, it installs the packages in the entrypoint.
Running docker-compose up -d --build and checking the logs of the 2 containers (docker compose logs test_poetry1 tty with failed install and docker compose logs test_poetry2 with correct install)
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below.Issue
I need to install some dependencies in the entrypoint of my docker container. The main dependencies are installed when building the image, some additional packages (groups) are installed later. For a colored logging output, I activated
tty: true
in my docker-compose.Problem:
poetry install
in a docker entrypoint script does not install the packages. It detects, that some packages need to be installed (Package operations: 3 installs, 0 updates, 0 removals
), but it does not install them. There is no error message (even not in verbose mode).poetry show
lists them as red.Entering the running container, it is possible to install the missing packages.
When deactivating
tty
(default) in docker-compose, it installs the packages in the entrypoint.To reproduce, i set up a repository with
Running
docker-compose up -d --build
and checking the logs of the 2 containers (docker compose logs test_poetry1
tty with failed install anddocker compose logs test_poetry2
with correct install)The text was updated successfully, but these errors were encountered: