This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 195
Add an option to skip composer install #237
Comments
This would be awesome! I am currently running a static site on Netlify and all my PHP stuff on another Server. I do not need to install the php dependencies with composer on Netlify. A possibility to skip would be awesome! |
+1 More control over the install phase would be an improvement. |
dz0ny
added a commit
to dz0ny/build-image
that referenced
this issue
Jul 4, 2019
I believe this is the way to implement the pre-build changes needed by many issues with the current build process. It allows a bit more flexibility for advanced users and does not break things for existing users. Here are some examples: ## Skipping unnecessary language installs (netlify#141) One can create `.netlify/remove_languages.sh` with contents: ```bash rm Pipfile rm Pipfile.lock rm requirements.txt rm runtime.txt ``` ## Specify Composer file (netlify#237) One can create `.netlify/patch_composer.sh` with contents: ```bash mv -f composer-netlify.json composer.json ``` ## Deploying multiple sites from the same repo (netlify#196) Add enviroment vairable $NETLIFY_SITE to project Create a `.netlify/netfily-site.sh` with contents: ```bash mv -f .netlify/$NETLIFY_SITE netlify.yaml ```
Closed
+1 |
Also, an option to customize |
Agree with @nelson6e65 here. I'm trying to use the |
6 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be great to have an option to skip composer install, for example if you have all dependencies already in your git repo (which can be a good idea).
The text was updated successfully, but these errors were encountered: