tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-compose fails to solve get-poetry.py

aringa opened this issue · comments

Running docker-compose up -d on a Mac , I get

=> ERROR [celeryworker 3/10] RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && cd /usr/local/bin && ln -s /opt/poetry/bin/poetry && poetry config virtualenvs.create false 0.8s

[celeryworker 3/10] RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && cd /usr/local/bin && ln -s /opt/poetry/bin/poetry && poetry config virtualenvs.create false:
0.707 File "", line 1
0.707 404: Not Found
0.707 ^
0.707 SyntaxError: invalid syntax


failed to solve: process "/bin/sh -c curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && cd /usr/local/bin && ln -s /opt/poetry/bin/poetry && poetry config virtualenvs.create false" did not complete successfully: exit code: 1

I figured out the file exists here very old version 1.3.2
https://raw.githubusercontent.com/python-poetry/poetry/1.3.2/get-poetry.py

No clue where that link is defined though.

PRs #524 and #529 provide the corrected files if you want to take a look.

Thanks! This was solved in #480 🤓

And thanks @willingc! 🙇

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.