Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing custom PHP extensions #29

Open
BjornDCode opened this issue Nov 5, 2020 · 0 comments
Open

Installing custom PHP extensions #29

BjornDCode opened this issue Nov 5, 2020 · 0 comments

Comments

@BjornDCode
Copy link
Owner

BjornDCode commented Nov 5, 2020

Currently it's possible to install PHP extensions yourself but it's too complicated to do manually.

The current steps require you to do the following:

  1. Create a docker folder in the project root
  2. Create a Dockerfile inside the docker folder with the following contents:
FROM bjornlindholm/laravel:7.4

RUN apt-get update
RUN apt-get install -y php7.4-gmp

CMD ["supervisord"]

Where php7.4-gmp is the name of the extensions to install.
3. Update docker-compose.yml
Replace

services:
  app:
      image: bjornlindholm/laravel:7.4

With:

services:
  app:
    build:
      context: ./docker

Instead I would like to specify extensions in the serve.toml file and create a UI for it as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant