You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have changed such that the container doesn't run as root which brings benefits on security. This causes an error as the golang executor is no longer able to replace the variables on startup on the openapi files. The container runs with user 8888 so currently the solution would be change the owner of the directory to be user with ID 8888.
The text was updated successfully, but these errors were encountered:
It would be better to make the files globally writable maybe as the RedHat ubi image runs as 1001 user by default and may run as an arbitrary user provided at runtime by openshift.
I completely agree, the main problems is that because we've also moved the distroless it's not possible to run the chmod command, so it's not possible to change permissions... the only command available seems to be --chown when using the docker COPY command, which is the suggested approach as well in the distroless issues, I can try to see if there are other ways to add chmod for files on distroless
@cliveseldon ok it seems it was possible to achieve this by changing the chmod on the builder container and copying the files with the broad access permissions. #1956 should have the fix now
Currently we have changed such that the container doesn't run as root which brings benefits on security. This causes an error as the golang executor is no longer able to replace the variables on startup on the openapi files. The container runs with user 8888 so currently the solution would be change the owner of the directory to be user with ID 8888.
The text was updated successfully, but these errors were encountered: