Open
Description
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)