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

[Bug]: Docker build is failling for v1.4 #177

Open
1 task done
Linkingirl opened this issue Feb 24, 2023 · 4 comments
Open
1 task done

[Bug]: Docker build is failling for v1.4 #177

Linkingirl opened this issue Feb 24, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Linkingirl
Copy link

What happened?

When I do docker build -t capsulefarmerevolved . I get the following error:

ERROR: No matching distribution found for beautifulsoup4

What should happen?

Docker image should build without errors

Capsule Farmer Version

v1.4

Operating System

Other (Non Windows are not natively supported)

Operating System Version

I'm running it on Raspberry pi with Linux Debian PI OS
But since I'm running it on a docker the OS should not be relevant

Relevant log output

No response

Notes

No response

My issue is not a question

  • I acknowledge that this issue is not a question or feature request.
@Linkingirl Linkingirl added the bug Something isn't working label Feb 24, 2023
@Linkingirl Linkingirl changed the title [Bug]: Docker build is failing for v1.4 [Bug]: Docker build is failling for v1.4 Feb 24, 2023
@willyw0nka
Copy link

Can you provide the results of docker version? Tried building v1.4 docker image on ubuntu 20.04 and works fine.

Built using docker 20.10.16. docker version results:

Client:
 Version:           20.10.16
 API version:       1.41
 Go version:        go1.18.1
 Git commit:        20.10.16-0ubuntu1
 Built:             Thu May 12 20:53:23 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.16
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.1
  Git commit:       20.10.16-0ubuntu1
  Built:            Thu May 12 20:04:31 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.4-0ubuntu1.1
  GitCommit:        
 runc:
  Version:          1.1.2-0ubuntu1.1
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:

@Smileskun
Copy link

Smileskun commented Feb 24, 2023

I have the same issue

Dockerfile:17

15 | # Install python dependencies in /.venv
16 | COPY Pipfile .
17 | >>> RUN PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy
18 |
19 | FROM base AS runtime

ERROR: failed to solve: process "/bin/sh -c PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy" did not complete successfully: exit code: 1

Client: Docker Engine - Community
Version: 23.0.1
API version: 1.42
Go version: go1.19.5
Git commit: a5ee5b1
Built: Thu Feb 9 19:47:01 2023
OS/Arch: linux/amd64
Context: default

Server: Docker Engine - Community
Engine:
Version: 23.0.1
API version: 1.42 (minimum version 1.12)
Go version: go1.19.5
Git commit: bc3805a
Built: Thu Feb 9 19:47:01 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.18
GitCommit: 2456e983eb9e37e47538f59ea18f2043c9a73640
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0

@Linkingirl
Copy link
Author

I also have Docker version 23.0.1

@Linkingirl
Copy link
Author

I successfully built it after downgrading docker from version 23 to version 20.
If you installed docker on a raspberry pi os or other debian os with curl -sSL https://get.docker.com | sh perform the following steps to reinstall it with an older docker version.

sudo apt remove docker-ce*
export VERSION=20.10.16 && curl -sSL get.docker.com | sh
# reboot or restart docker
sudo systemctl stop docker
sudo systemctl start docker
docker build -t capsulefarmerevolved CapsuleFarmerEvolved-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants