Ahwxorg / Binternet

A custom Pinterest frontend, made in PHP.
GNU General Public License v3.0
116 stars 12 forks source link

Dockerfile doesn't work #19

Closed extremelyonline closed 1 year ago

extremelyonline commented 1 year ago

Hello, I was trying to build a Docker image (for an ARM machine), and found out that the latest Dockerfile doesn't build a working image (for both ARM and AMD machines). The error is docker/entrypoint.sh: not found.

Yet, the container on the repo works.

Ahwxorg commented 1 year ago

I am not really good with Docker, I know @kubo6472 did this for LibreY. They might be able to help? They made the file that I use here in this PR on LibreY

kubo6472 commented 1 year ago

@Ahwxorg @extremelyonline you are missing this file.

codedipper commented 1 year ago

WHY do you make things so complicated? Dockerfiles are literally shell scripts on AIDS. #21

kubo6472 commented 1 year ago

WHY do you make things so complicated? Dockerfiles are literally shell scripts on AIDS. #21

Note, I did not create the dockerfile, only the GHCR build script :)

codedipper commented 1 year ago

WHY do you make things so complicated? Dockerfiles are literally shell scripts on AIDS. #21

Note, I did not create the dockerfile, only the GHCR build script :)

I know, but liv did blindly copy and paste the Docker from LibreX. :)

codedipper commented 1 year ago

@extremelyonline please test the new Docker image, you can build with:

[doas/sudo] docker buildx build --no-cache --platform linux/[arm64v8] --tag ahwxorg/binternet:latest .

@Ahwxorg please add the new information to the wiki.

extremelyonline commented 1 year ago

@codedipper Sorry for my late reply. It works! Thank you!