mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-24 21:55:33 +00:00
build: docker image fix (#1245)
Moving to a non-root user in the docker image caused a failure in the publication workflow. This fix was used to publish the 0.10.9 unstructured image in this workflow: https://github.com/Unstructured-IO/unstructured/actions/runs/6020624226/job/16332230987
This commit is contained in:
parent
7ce2659340
commit
6ad497136d
@ -38,8 +38,9 @@ trap stop_container EXIT
|
||||
await_container
|
||||
|
||||
# Run the tests
|
||||
docker cp test_unstructured_ingest $CONTAINER_NAME:/home
|
||||
docker exec "$CONTAINER_NAME" /bin/bash -c "/home/notebook_user/test_unstructured_ingest/test-ingest-wikipedia.sh"
|
||||
docker cp test_unstructured_ingest $CONTAINER_NAME:/home/notebook-user
|
||||
docker exec -u root "$CONTAINER_NAME" /bin/bash -c "chown -R 1000:1000 /home/notebook-user/test_unstructured_ingest"
|
||||
docker exec "$CONTAINER_NAME" /bin/bash -c "/home/notebook-user/test_unstructured_ingest/test-ingest-wikipedia.sh"
|
||||
|
||||
result=$?
|
||||
exit $result
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user