Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose build #18

Closed
bdonkey opened this issue Mar 9, 2024 · 4 comments
Closed

Docker compose build #18

bdonkey opened this issue Mar 9, 2024 · 4 comments

Comments

@bdonkey
Copy link

bdonkey commented Mar 9, 2024

On mac Sonoma 14.4 M1 chip

Docker compose build

error:

docker compose build
[+] Building 21.3s (8/12)                                                                                                                                                                                                                                                                 
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                 0.0s
 => => transferring dockerfile: 1.25kB                                                                                                                                                                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/python:3.11-slim                                                                                                                                                                                                                  2.0s
 => [internal] load build context                                                                                                                                                                                                                                                    0.0s
 => => transferring context: 4.42kB                                                                                                                                                                                                                                                  0.0s
 => [base 1/8] FROM docker.io/library/python:3.11-slim@sha256:ce81dc539f0aedc9114cae640f8352fad83d37461c24a3615b01f081d0c0583a                                                                                                                                                       0.0s
 => CACHED [base 2/8] WORKDIR /backend                                                                                                                                                                                                                                               0.0s
 => CACHED [base 3/8] RUN set -eux &&     apt-get update &&     apt-get install -y       build-essential       curl       libpq-dev python3-dev                                                                                                                                      0.0s
 => ERROR [base 4/8] RUN curl -sSL https://install.python-poetry.org | python -                                                                                                                                                                                                     19.3s
------                                                                                                                                                                                                                                                                                    
 > [base 4/8] RUN curl -sSL https://install.python-poetry.org | python -:                                                                                                                                                                                                                 
#0 0.466 Retrieving Poetry metadata                                                                                                                                                                                                                                                       
#0 0.586                                                                                                                                                                                                                                                                                  
#0 0.588 # Welcome to Poetry!                                                                                                                                                                                                                                                             
#0 0.588                                                                                                                                                                                                                                                                                  
#0 0.588 This will download and install the latest version of Poetry,
#0 0.588 a dependency and package manager for Python.
#0 0.588 
#0 0.588 It will add the `poetry` command to Poetry's bin directory, located at:
#0 0.588 
#0 0.588 /opt/poetry/bin
#0 0.588 
#0 0.588 You can uninstall at any time by executing this script with the --uninstall option,
#0 0.588 and these changes will be reverted.
#0 0.588 
#0 0.588 Installing Poetry (1.8.2)
#0 0.588 Installing Poetry (1.8.2): Creating environment
#0 11.09 Installing Poetry (1.8.2): Installing Poetry
#0 19.28 Installing Poetry (1.8.2): An error occurred. Removing partial environment.
#0 19.31 Poetry installation failed.
#0 19.31 See /backend/poetry-installer-error-l9zy_m6r.log for error logs.
------
failed to solve: process "/bin/bash -o pipefail -c curl -sSL https://install.python-poetry.org | python -" did not complete successfully: exit code: 1

No backend/poetry-installer-error-l9zy_m6r.log since no container...

@atursunov
Copy link

Having same issue,

image

@stevejgoodman
Copy link

Same issue on Ventura, M1 chip

@eyurtsev
Copy link
Collaborator

Hopefully resolved

@stevejgoodman
Copy link

All good now. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants