WendellAdriel / laravel-exa

Opinionated Modularized API Skeleton for Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App container cant be build

K2ouMais opened this issue · comments

When using the command make configure to start the application and while the images are beeing build, seems that the following command isnt working:

RUN composer install --prefer-dist && rm -rf /root/.composer

After a while (>300s) it will fail.

Try to delete the built images on your system and run make configure.

Thanks

I was able to identify some issues in the initial configuration and released a new version v1.4.0.
Can you check the README that has now been updated on how to configure the app and try again to see if it's working, please @K2ouMais?

I tried here in my machine and it's working without issues, but I prefer that you check on your side before closing this.

Ok, this is what I tried:

  • Installed your package
  • Build the images with "make build"
  • Tried to configure the package with "make configure" and get an error...

Screenshot 2023-05-11 170249

One other thing is, that you are using make commands in the makefile, which is ok fine, but this generates this output between the make commands:
Makefile
These arent errors, but you can get rid of it using the following argument:
make --no-print-directory command

Other than that, everything seems to work well:
image
The only thing is, that for some reason the main image is 1.2GB, which is a lot of used space and could be reduced using alpine images, but it could be because you have everything in one container.

This error is really weird because I could not reproduce this here.
That's true, the alpine images can make it smaller, but I didn't have time to test yet.
If you have some time to test out and help a PR would be great! 😉

@K2ouMais I just released a new version switching the images used by the API and Redis to use their Alpine versions. Can you check if you're still facing issues with this new release?

Closing due to inactivity