-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Description
My setup: Macbook Pro M2.
Issue: Docker Build - Exit Code 100 due to Package 'netcat' has no installation candidate & Running Docker Issues
Error Code:
#0 2.039 netcat-openbsd 1.219-1
#0 2.039 netcat-traditional 1.10-47
#0 2.039
#0 2.046 E: Package 'netcat' has no installation candidate
------
failed to solve: process "/bin/sh -c set -e; apt-get update ; apt-get -y install netcat ; apt-get -y install gettext ;" did not complete successfully: exit code: 100
Solutions:
- backend/docker/docker_files/Dockerfile && backend/docker/docker_files/Dockerfile_app
- Change
apt-get -y install netcat ;\ ---> apt-get -y install netcat-traditional ;\
- docker-compose-yml
- Change Dockerfile_app ports to 5001:5001 instead of 5000:5000
- backend/docker/docker_files/Dockerfile
- Change at the bottom
ENTRYPOINT ["/code/docker/entrypoints/entrypoint.sh"] ---> ENTRYPOINT ["bash", "-e", "/code/docker/entrypoints/entrypoint.sh"]
If a few other people could test wether its a good sturdy solution, we can close this.
IF better ways, make it aware to me please. Beginner Here.
sandial1 and hikergit
Metadata
Metadata
Assignees
Labels
No labels