Closed nakamura196 closed 10 months ago
It has been observed that the issue with 'Unable to load library 'mediainfo'' occurs specifically in the Mac M1 environment.
@nakamura196 Thanks for the MR. This should currently work on M1. Please try doing the following, without these changes:
mvn generate-resources
mvn -DskipTests clean package
docker build -f docker/Dockerfile -t fits .
Thank you for the the guidance. Tools like mediainfo
were successfully installed as part of the build process. Your assistance is greatly appreciated.
Resolves Issue: (link)
What does this Pull Request do?
This Pull Request adds the mediainfo and libmediainfo-dev packages to the Dockerfile used for building the FITS Docker image. This addition resolves the error 'Unable to load library 'mediainfo'' which was encountered when running FITS in a Docker container. The inclusion of these packages ensures that FITS can properly utilize the mediainfo library for media file analysis, enhancing its functionality within the Dockerized environment.
How should this be tested?
To test this Pull Request:
docker build -f Dockerfile -t fits .
docker run --rm -v pwd:/work fits -i sample_file.txt
Test coverage
No: The changes in this pull-request are not covered by unit tests or integration tests. The change is specific to the Docker build process and can be verified through the steps mentioned in the testing section.
Interested parties
N/A