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

UID issues #189

Open
marek-obuchowicz opened this issue Feb 19, 2021 · 0 comments
Open

UID issues #189

marek-obuchowicz opened this issue Feb 19, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@marek-obuchowicz
Copy link
Contributor

Which release, branch or hash of Docker SDK are you using?

1.30.0

Which operating system (platform/version/architecture) are you using?

Debian 10

What is the issue that you're experiencing?

Owner of files inside containers is not correctly set

What are the steps to reproduce the issue?

Build generator image (docker/sdk boot)
Check ownership of index.php

What is the expected result of these steps in the absence of the issue?

File ownership is adjusted to UID of current user

What is the actual result?

File ownership is set to UID=1000

What possible solutions and/or workarounds for the issue do you see?

--

Is there any other information that might be helpful?

https://github.com/spryker/docker-sdk/blame/master/generator/Dockerfile#L24
The line mentioned above gives an error - it’s ignored and doesn’t break docker build:

$ find / -user 1000 -exec chown -h spryker {} \ || true;
find: -exec requires an argument

Correct command is missing semicolon:

find / -user 1000 -exec chown -h spryker {} \; || true;
@sprymiker sprymiker added the bug Something isn't working label Feb 23, 2021
sprymiker added a commit that referenced this issue Jun 27, 2023
- Reverted secrets changes
- Fixed #189
sprymiker added a commit that referenced this issue Jun 28, 2023
- Reverted secrets changes
- Fixed #189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants