-
Notifications
You must be signed in to change notification settings - Fork 990
Open
Labels
containersRelated to augur in containers, container images, or the compose file, either in podman or in dockerRelated to augur in containers, container images, or the compose file, either in podman or in docker
Description
In our rabbitmq container image, we have a script that populates the credentials in the config based on the environment variables available at build time.
I recently saw this error when rebuilding my local instance's container image in podman
STEP 15/16: COPY docker/rabbitmq/update_config.py /
--> Using cache 711eede66212dc63de0c796c17811c96cd2dfec5f98c5ab608ea2259c77debd5
--> 711eede66212
STEP 16/16: RUN exec python3 update_config.py
Traceback (most recent call last):
File "//update_config.py", line 40, in <module>
with config_file.open("w") as file:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/etc/rabbitmq/definitions.json'
Error: building at STEP "RUN exec python3 update_config.py": while running runtime: exit status 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
containersRelated to augur in containers, container images, or the compose file, either in podman or in dockerRelated to augur in containers, container images, or the compose file, either in podman or in docker