-
Suggestion
-
Resolution: Fixed
I have a Docker image I want to use: https://hub.docker.com/r/xueshanf/s3fs/
The image will mount an S3 bucket for me. I think this image can be really helpful for running Maven builds that like to download the world. Here I can have a custom settings.xml point to the S3 bucket where all my external dependencies exist. My build / deploy time would dramatically go down.
There are a few caveats on how I would securely configure the container. It requires that the host has a .s3fs file containing my AWS access and secret keys. I could host the image in a private repository but that's not ideal if this is going to be a solution for all your users.
I'd love some feedback on what you think about this solution and how you could potentially add it to Bitbucket Pipelines.
Cheers,
Bjorn
[BCLOUD-13368] Pipeline Docker image that mounts S3 repository
Workflow | Original: JAC Suggestion Workflow [ 3538775 ] | New: JAC Suggestion Workflow 3 [ 3593148 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Status | Original: GATHERING INTEREST [ 11772 ] | New: RESOLVED [ 5 ] |
Hi Bjorn,
The image doesn't start s3fs by default so you'll have to add the s3fs command from the docker compose example to your yaml file. If you do that after writing the .s3fs file timing shouldn't be an issue.
Regards
Sam