8000 docker/sdk fails if umask isn't 022 · Issue #186 · spryker/docker-sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
docker/sdk fails if umask isn't 022 #186
Open
@marek-obuchowicz

Description

@marek-obuchowicz

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

1.30.0

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

Linux Debian

What is the issue that you're experiencing?

docker/sdk fails in several places, when umask != 022

What are the steps to reproduce the issue?

umask 027
git clone <project>
git clone <docker_sdk>
docker/sdk boot deploy.yml && docker/sdk up

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

It should start the app

What is the actual result?

Some files inside container inherit permissions from source host, which means they aren't readable inside container.
First example (from possibly more) -

$ docker run -ti spryker_b2b_base_cli:1.0

$ ls -la /usr/local/etc/php/php.ini
-rw-r----- 1 root root 70953 Feb 18 16:34 php.ini

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

Permissions of files inside container should be controlled by build process and not rely on operating system's umask, which can be different (espacially on CI systems)

Is there any other information that might be helpful?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0