-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ora-based Logger crashes if run inside a docker container #1716
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
If parcel runs inside a docker-container, the logger crashes with the following output:
🎛 Configuration (.babelrc, package.json, cli command)
We're running parcel inside docker containers that get bootstrapped using docker-compose. There are no special configurations, neither at the docker - nor at the parcel side. Our docker-compose.yml file looks like this:
the parcel image has been build via
docker build -t parcel .
from the following dockerfile:
if you want to start a bash inside this docker-container instead of crashing it immediately, you could modify the docker-compose.yml file like this:
💁 Possible Solution
I had a look at this and this thread and tried to disable the ora-stream by setting the CI-environment variable to 1 using the docker-compose environment setting like this:
but it seems to be ignored in the parcel-scenario. I finally modified this line here to
enabled: !this.isTest && !process.env.CI
which (combined with the previous CI-environment-variable-setting) solved the issue for me. Since the output still looks somehow tangled, I guess my "solution" is either not complete or even follows the wrong trail.
Thank you very much for any help! I really love your work!
The text was updated successfully, but these errors were encountered: