debian-forge-composer/distribution
Ondřej Budai 128f56169e Dockerfile*: chown the copied files
When `go install` is called, go tries to get the git commit hash and embed it
into the built binary. Internally, go just calls the git executable.

The newer go-toolset seems to be based on RHEL 9.2 that ships a newer version
of git (2.39.1). This version contains the safe directory patch that
disallows git from operating on repositories owned by different users.

Thus, we need to chown the files when copying.

See

https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-05-17 13:08:29 +02:00
..
Dockerfile-config remove Fedora 35 support 2023-01-06 11:34:50 +01:00
Dockerfile-fauxauth Dockerfile*: chown the copied files 2023-05-17 13:08:29 +02:00
Dockerfile-ubi Dockerfile*: chown the copied files 2023-05-17 13:08:29 +02:00
Dockerfile-ubi-maintenance Dockerfile*: chown the copied files 2023-05-17 13:08:29 +02:00
Dockerfile-ubi-packer use app-sre packer image 2022-03-11 09:24:26 +01:00
Dockerfile-worker remove Fedora 35 support 2023-01-06 11:34:50 +01:00
osbuild-composer-api.socket distribution: deprecate osbuild-composer-koji.socket 2020-10-16 09:37:04 +02:00
osbuild-composer.conf distribution: set permissions on api sockets 2020-05-20 01:55:26 +02:00
osbuild-composer.service spec: remove dnf-json service and socket 2022-06-01 11:36:52 +01:00
osbuild-composer.socket composer: split out the local worker socket 2020-11-17 17:01:18 +00:00
osbuild-local-worker.socket composer: split out the local worker socket 2020-11-17 17:01:18 +00:00
osbuild-remote-worker.socket sockets: clarify their descriptions 2020-11-17 17:01:18 +00:00
osbuild-remote-worker@.service spec: remove dnf-json service and socket 2022-06-01 11:36:52 +01:00
osbuild-worker@.service spec: remove dnf-json service and socket 2022-06-01 11:36:52 +01:00