softprops / serverless-rust

⚡ 🦀 a serverless framework plugin for rustlang applications
https://www.npmjs.com/package/serverless-rust
MIT License
548 stars 82 forks source link

fix build issue on systems with SELinux using Docker #92

Closed ryanvade closed 3 years ago

ryanvade commented 3 years ago

This fixes an issue with creating the target/lambda directory during build. See https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label

What did you implement:

I added mount flags for the docker build which fixesan issue with permissions in the container.

How did you verify your change:

Local builds on Fedora 33.

What (if anything) would need to be called out in the CHANGELOG for the next release:

Nothing