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

Stop running frontend and processor with root user #451

Merged
merged 5 commits into from
Nov 4, 2022
Merged

Conversation

AbdulrhmnGhanem
Copy link
Member

@AbdulrhmnGhanem AbdulrhmnGhanem commented Oct 13, 2022

While investigating #450 I noticed the server runs as root which can lead to some issues.

@AbdulrhmnGhanem AbdulrhmnGhanem temporarily deployed to staging October 13, 2022 19:13 Inactive
@AbdulrhmnGhanem AbdulrhmnGhanem force-pushed the no-root-docker branch 13 times, most recently from eec0663 to e563a9d Compare October 14, 2022 06:36
@AbdulrhmnGhanem AbdulrhmnGhanem marked this pull request as ready for review October 14, 2022 06:50
processor/Dockerfile Outdated Show resolved Hide resolved
frontend/Dockerfile Outdated Show resolved Hide resolved
frontend/Dockerfile Outdated Show resolved Hide resolved
@AbdulrhmnGhanem AbdulrhmnGhanem force-pushed the no-root-docker branch 2 times, most recently from 85ec6fe to f49d18d Compare October 27, 2022 16:24
@AbdulrhmnGhanem AbdulrhmnGhanem temporarily deployed to staging October 27, 2022 16:29 Inactive
frontend/Dockerfile Outdated Show resolved Hide resolved
- We need to install packages, compile ts, and move assets before running
the actual testing code.
- The `node` user doesn't have permessions to do anything of these
  tasks.

Update scripts/clear_volumes_and_test_processor.sh

Co-authored-by: Kaspar Emanuel <[email protected]>
@AbdulrhmnGhanem AbdulrhmnGhanem force-pushed the no-root-docker branch 2 times, most recently from aae27cc to 0b61bf6 Compare October 27, 2022 18:14
@AbdulrhmnGhanem AbdulrhmnGhanem marked this pull request as draft October 27, 2022 18:26
@AbdulrhmnGhanem AbdulrhmnGhanem marked this pull request as ready for review October 28, 2022 10:52
@kasbah

This comment was marked as off-topic.

frontend/Dockerfile Outdated Show resolved Hide resolved
@kasbah
Copy link
Member

kasbah commented Nov 4, 2022

Could you resolve the merge conflict with #458 so it will deploy to review.staging please?

@AbdulrhmnGhanem AbdulrhmnGhanem marked this pull request as draft November 4, 2022 20:13
@AbdulrhmnGhanem AbdulrhmnGhanem marked this pull request as ready for review November 4, 2022 20:13
@kasbah kasbah merged commit 7f1aa16 into master Nov 4, 2022
@AbdulrhmnGhanem AbdulrhmnGhanem deleted the no-root-docker branch November 17, 2022 12:18
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.

2 participants