Skip to content

Commit

Permalink
airbyte-ci: give back ownership of /tmp to the original user when run…
Browse files Browse the repository at this point in the history
…ning finalize in build
  • Loading branch information
alafanechere committed Jan 16, 2025
1 parent bc25e95 commit 1510f35
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ async def finalize_build(context: ConnectorContext, connector_container: Contain
.with_exec(["/tmp/finalize_build.sh"], use_entrypoint=True)
)
# Switch back to the original user
connector_container = connector_container.with_exec(["chown", "-R", f"{original_user}:{original_user}", "/tmp"])
connector_container = connector_container.with_user(original_user)
return connector_container.with_entrypoint(original_entrypoint)

0 comments on commit 1510f35

Please sign in to comment.