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

how to build on local? #2

Open
timiil opened this issue Mar 9, 2023 · 3 comments
Open

how to build on local? #2

timiil opened this issue Mar 9, 2023 · 3 comments

Comments

@timiil
Copy link

timiil commented Mar 9, 2023

hi, i am trying:

git clone https://github.com/kalaspuff/stable-diffusion-webui-docker

cd stable-diffusion-webui-docker

docker build . --rm -t kalaspuff/sdw 

but failed here:

 => ERROR [ 4/23] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes     && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry         && poetry config virtualenvs.create false       1000.9s
------
 > [ 4/23] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes     && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry         && poetry config virtualenvs.create false     && poetry config virtualenvs.in-project false:
#0 1.465 Retrieving Poetry metadata
#0 68.51
#0 68.52 # Welcome to Poetry!
#0 68.52
#0 68.52 This will download and install the latest version of Poetry,
#0 68.52 a dependency and package manager for Python.
#0 68.52
#0 68.52 It will add the `poetry` command to Poetry's bin directory, located at:
#0 68.52
#0 68.52 /usr/local/poetry/bin
#0 68.52
#0 68.52 You can uninstall at any time by executing this script with the --uninstall option,
#0 68.52 and these changes will be reverted.
#0 68.52
#0 68.52 Installing Poetry (1.4.0)
#0 68.52 Installing Poetry (1.4.0): Creating environment
#0 205.8 Installing Poetry (1.4.0): Installing Poetry
#0 1000.7 Installing Poetry (1.4.0): An error occurred. Removing partial environment.
#0 1000.8 Poetry installation failed.
#0 1000.8 See /poetry-installer-error-x3gj8j15.log for error logs.
------
Dockerfile:50
--------------------
  49 |     # Poetry for Python packages
  50 | >>> RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes \
  51 | >>>     && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry \
  52 | >>>     \
  53 | >>>     && poetry config virtualenvs.create false \
  54 | >>>     && poetry config virtualenvs.in-project false
  55 |
--------------------
ERROR: failed to solve: process "/bin/sh -c curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local/poetry python3 - --yes     && ln -s /usr/local/poetry/bin/poetry /usr/bin/poetry         && poetry config virtualenvs.create false     && poetry config virtualenvs.in-project false" did not complete successfully: exit code: 2

@kalaspuff
Copy link
Owner

It should build without issues. Make sure your internet connection is stable and your machine has enough disk and RAM for the image.

@timiil
Copy link
Author

timiil commented Mar 10, 2023

is it possible push an image up to docker hub ?

@shinyone
Copy link

Didn't have any problems myself.

Is the ERROR the contents of /poetry-installer-error-x3gj8j15.log?

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

3 participants