Resolves [[ https://linear.app/comm/issue/ENG-2305/use-blob-service-rust-implementation-in-docker | ENG-2305 ]]
I've decided to use a multi-staged build is described in the above Linear issue. In short, Tonic >= 0.8 requires both rust and protobuf to be installed, and in other configurations the image is either huge or long to build.
Other minor changes:
- Added Rust `target` directory to dockerignore
- Modified the `docker-compose` volumes to load AWS credentials appropriately
- Fixed the Localstack URL - it should look like this from the begginning ([[ https://github.com/CommE2E/comm/blob/b6fe5236c2d5781502ddae5606588a99679555dd/services/lib/src/DynamoDBTools.cpp#L12 | see other services ]])
- Deleted the `links` entry in `Cargo.toml` as we don't link any native library here and release build fails.