creativecommons / creativecommons/index-dev-env
[Bug] Docker fails to build and setup WordPress properly on Unbuntu Linux OS
- Dominant language
- Shell
- Stars
- 8
- Forks
- 5
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 2
Description
## Description
When attempting a fresh build within a Linux environment, the WordPress container fails to adequately run its setup, leaving the environment unusuable.
## Reproduction
run `docker compose up`
error produced:
`````
index-web | sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
index-web | sudo: a password is required
`````
## Expectation
The Docker setup should build successfully on Mac, Windows, and Linux operating systems
## Environment
- OS: Ubuntu v20.04.6 LTS (Focal Fossa)
## Additional context
This was tested via a `devcontainer`, but *should* be present on a regular Linux install, since the devcontainer emulates that particular environment similarly.
I'm guessing the Operating System is not adequately recognizing/applying [`www-data_startupservice:line 5`](https://github.com/creativecommons/index-dev-env/blob/c8707f42fc0df7e56ce300538fe8b42b768bb765/config/www-data_startupservice#L5C1-L5C48)
## Resolution
- [ ] I would be interested in resolving this bug.
Contributor guide
Assessment
This issue has not been assessed yet.