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

Run stage0 as root during Docker build #1197

Merged
merged 1 commit into from
Jan 28, 2019
Merged

Conversation

eed3si9n
Copy link
Member

Fixes #1195

Since the user of the fabric8 image is already non-root, stage0 fails with

chmod: changing permissions of '/opt/docker': Operation not permitted

This switches the stage0 user to root explicitly so we can run chmod in there. In the actual image the user is set back to 1001.

Fixes sbt#1195

Since the user of the fabric8 image is already non-root, stage0 fails with

```
chmod: changing permissions of '/opt/docker': Operation not permitted
```

This switches the stage0 user to root explicitly so we can run `chmod` in there. In the actual image the user is set back to 1001.
Copy link
Contributor

@muuki88 muuki88 left a comment

Choose a reason for hiding this comment

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

Awesome! Will release immediately

@muuki88 muuki88 merged commit f55558f into sbt:master Jan 28, 2019
@eed3si9n eed3si9n deleted the wip/staging branch January 28, 2019 15:49
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