efrecon / docker-s3fs-client

Alpine-based s3fs client: mount from container, make available to other containers
BSD 3-Clause "New" or "Revised" License
181 stars 64 forks source link

Mime type detection #13

Closed nickday closed 3 years ago

nickday commented 3 years ago

Mime types were not being detected as the image does not have a file at /etc/mime.types - see https://github.com/s3fs-fuse/s3fs-fuse/blob/v1.89/COMPILATION.md. This was causing all files to be uploaded with a mime type of application/octet-stream. So I installed mailcap to provide mime types, and now files are detected correctly.

efrecon commented 3 years ago

Nice catch @nickday and thank you