Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dockerfile: Set TOX_ENV to use artifacts from nodejs build instead of building inside Python container (fixes #759) #760

Merged
merged 1 commit into from
Jan 15, 2022

Conversation

alexandru
Copy link
Contributor

I don't know what the purpose of that TOX_ENV value was, but it seems to do the trick.

@ix5 ix5 changed the title Fix #759 Dockerfile: Set TOX_ENV to use artifacts from nodejs build instead of building inside Python container (fixes #759) Jan 15, 2022
Set `TOX_ENV` to avoid re-running the javascript
generation step that has already been handled by
the nodejs `jsBuilder` step.

This causes the `NpmBuildCommand` inside
`setup.py` to abort early.

This fixes the Docker build as previously it would
fail to compile javascript in a pure-python docker
container.

Fix isso-comments#759
@ix5
Copy link
Member

ix5 commented Jan 15, 2022

Hey, thank you for your contribution!

I can verify that this indeed does fix the docker build. To expand a bit:

Set `TOX_ENV` to avoid re-running the javascript
generation step that has already been handled by
the nodejs `jsBuilder` step.

This causes the `NpmBuildCommand` inside
`setup.py` to abort early.

This fixes the Docker build as previously it would
fail to compile javascript in a pure-python docker
container.

@alexandru please use proper commit messages next time. I've pushed to your branch to add more information.

@ix5 ix5 merged commit 1ba12bf into isso-comments:master Jan 15, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants