serversideup / financial-freedom

🔥🔥🔥 An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy.
https://serversideup.net/open-source/financial-freedom/
GNU General Public License v3.0
1.84k stars 143 forks source link

Dockerfile - failed to solve: serversideup/php:8.2.12-unit-bookworm #94

Closed martinodonnell closed 9 months ago

martinodonnell commented 9 months ago

Issue description

I am working on getting the app running locally on my machine

When I spin the app up from scratch, I get the following output

spin up --build
[+] Pulling 7/7
 ✔ node Skipped - No image to be pulled                                                                             0.0s 
 ✔ php Skipped - No image to be pulled                                                                              0.0s 
 ✔ traefik Pulled                                                                                                   1.2s 
 ✔ mariadb Pulled                                                                                                   1.2s 
 ✔ meilisearch Pulled                                                                                               1.2s 
 ✔ redis Pulled                                                                                                     1.2s 
 ✔ mailpit Pulled                                                                                                   1.2s 
[+] Building 0.4s (6/6) FINISHED                                                                    docker:desktop-linux
 => [node internal] load .dockerignore                                                                              0.0s
 => => transferring context: 173B                                                                                   0.0s
 => [node internal] load build definition from Dockerfile.node                                                      0.0s
 => => transferring dockerfile: 194B                                                                                0.0s
 => CANCELED [node internal] load metadata for docker.io/library/node:20                                            0.4s
 => [php internal] load build definition from Dockerfile.php                                                        0.0s
 => => transferring dockerfile: 335B                                                                                0.0s
 => [php internal] load .dockerignore                                                                               0.0s
 => => transferring context: 173B                                                                                   0.0s
 => ERROR [php internal] load metadata for docker.io/serversideup/php:8.2.12-unit-bookworm                          0.4s
------
 > [php internal] load metadata for docker.io/serversideup/php:8.2.12-unit-bookworm:
------
failed to solve: serversideup/php:8.2.12-unit-bookworm: docker.io/serversideup/php:8.2.12-unit-bookworm

This also happens when using gitpod code

The dockerfile.php last updated on this commit. When I revert the commit, it build correctly

Environment

Steps to reproduce the issue

I followed the guide in the contributing .md guide

  1. Installed spin locally
  2. Copy .env file
  3. spin run php composer install
  4. spin run node yarn install
  5. spin run php php artisan key:generate
  6. spin up --build

What is expected?

Expect docker to fully boot

Link to where issue can be reproduced

Additional details / screenshots

martinodonnell commented 9 months ago

@danpastori @jaydrogers Any idea for this. Do we need to make the docker image public?

jaydrogers commented 9 months ago

Hey Martin,

Sorry for not responding sooner. I was busy pushing Spin out the door (https://serversideup.net/open-source/spin/).

We're now shifting focus to financial freedom. Expect a lot of development changes soon.

I'll take care of getting everything connected 👍