Skip to content

Conversation

@sword-huang
Copy link

No description provided.

# Make sure everything in /home/tester is owned by the build user
RUN chown -R tester:tester .

USER tester
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running chrome as not root is not working well.

docker run --rm \
-e USERNAME="Ipatios Asmanidis" \
--net=host \
-v "$PWD/output":/output \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change breaks existing behaviour (existing output, scripts, reports directories are not longer used), you could just map them to /home/tester/output, /home/tester/scripts, /home/tester/reports.

For backwards compatiblity you may also want to add symlinks for the old directories:
/output -> /home/tester/output
/suites -> /home/tester/suites
/scripts -> /home/tester/scripts
/reports -> /home/tester/reports

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