-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
fix(linux): correct permissions and paths in Linux docker image #13008
Conversation
This change fixes two issues in the Linux docker image that showed up when running tests: - some directories had wrong permissions - we have to build keyman-system-service in a docker-specific directory as well so that the location of the service executable can be found when running the tests in docker
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
nit on the PR description ( |
chown build:build /run/user/1000 && \ | ||
chmod 700 /run/user/1000 && \ | ||
mkdir -p /tmp/.X11-unix && \ | ||
chmod 1777 /tmp/.X11-unix && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not needed?
chown build:build /tmp/.X11-unix && \
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it should stay owned by root.
I have changed the PR title to:
This is a little more specific on what the PR is actually changing -- it's a fix not a chore, and tries to state what the fixes are. |
This changes the test script: when running in Docker it doesn't make sense to restart ibus when exiting the tests. This works around a problem where the `ibus start` command would hang.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Changes in this pull request will be available for download in Keyman version 18.0.177-alpha |
This change fixes two issues in the Linux docker image that showed up when running tests:
@keymanapp-test-bot skip