-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Match Container's User and Group to Host (#49962)
* Changed Environment Container User Instead of running the web service as `root` and the CLI service as `33:33`, we should be running them as the host user. By doing this we ensure ownership parity in mounted folders on platforms where having different owners would result in permission issues. * Removed Upload Permission Mod With the changes in this pull request we no longer need to do this. * Added Shared Home Directory This will ensure things like `wp plugin install` have a directory to use as a cache. Anything else can now refer to the home directory for the same purpose. * Fixed Dangling Containers Some of our `docker-compose run` actions weren't removing the container after being executed. This was breaking `wp-env destroy` when volumes were in-use. * Isolated Docker Service Images By defining an `image` property in our `docker-compose.yml` we were replacing the corresponding image locally after building. This meant `tests-wordpress` would have the same image as `wordpress` as long as the PHP versions matched. This only worked on accident, and as a consequence, also replaced the local `wordpress` image. This commit isolates all of the `build` operations so they don't replace the images. This also adds support so that `destroy` will remove them. * Fixed Debian Stretch Repositories Debian stretch was just removed from deb.debian.org and moved to the archive repository. This commit changes the sources so that, on stretch, the apt-get update won't break. Co-authored-by: Noah Allen <[email protected]>
- Loading branch information
1 parent
358a423
commit 602ba69
Showing
11 changed files
with
252 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.