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

Fix Docker on Linux, introduce CircleCI #816

Merged
merged 6 commits into from
Nov 2, 2019
Merged

Fix Docker on Linux, introduce CircleCI #816

merged 6 commits into from
Nov 2, 2019

Conversation

alexsegura
Copy link
Member

@alexsegura alexsegura commented Nov 1, 2019

See #789 #436

On Linux, there are problems with the mounted volumes which lead to permission issues.
Basically, the volumes are mounted as root on the host machine.
See moby/moby#2259 & #moby/moby#3124

This pull request is another attempt to fix this.

  • Use /var/www/html as the mount folder as in base PHP image (b35c8b0)
  • Run PHP-FPM as root (c93f2d8)
  • Stop creating directories from the host machine (8d9ed69)

Also, it uses CircleCI to test the Docker environment works

@alexsegura alexsegura changed the title Introduce CircleCI Fix Docker on Linux, introduce CircleCI Nov 2, 2019
@alexsegura alexsegura merged commit 7251a81 into master Nov 2, 2019
@alexsegura alexsegura deleted the circleci branch November 2, 2019 09:35
freelibre added a commit to freelibre/coopcycle-web that referenced this pull request Nov 11, 2019
As linux installation right issues coopcycle#801 and coopcycle#816 were solved I propose to delete this Linux prerequisite workaround in the README.md file
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

Successfully merging this pull request may close these issues.

1 participant