LeagueOfPoro / CapsuleFarmerEvolved

Automatically drops from lolesports.com and farm Esports Capsules
Other
812 stars 128 forks source link

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

Open Linkingirl opened 1 year ago

Linkingirl commented 1 year ago

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

willyw0nka commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

I also have Docker version 23.0.1

Linkingirl commented 1 year ago

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-