Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Reduce size of atlassian/git-secrets-scan:1.0.0 docker image

Deleted user November 17, 2022

Docker image of Bitbucket pipelines Pipe that I use, 

atlassian/git-secrets-scan

is around 350 MB compressed and almost 1 GB uncompressed, which adds 30 seconds to each pipeline run.

Can we get this image size optimised for use in pipelines please? 

Regards, 

Ziga 

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 18, 2022

Hi @[deleted] 

Thank you for your question!

We'll investigate your suggestion with a team and notify you.

 

Best regards,
Oleksandr Kyrdan

Deleted user December 3, 2022

Hi @Oleksandr Kyrdan 

I've opened a PR (https://bitbucket.org/atlassian/git-secrets-scan/pull-requests/19) that greatly reduces pipe docker image down to 25%

It would be really great to see some time savings there. Currently it takes between 25-30 sec (regardless of caching) for this pipe to run, which make this pipe 'optional' very fast. 

Regards, 
Ziga

Like Oleksandr Kyrdan likes this
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 8, 2022

Hi @[deleted] 

Thanks for contributing to the community!

Your PR is merged and a new version of git-secrets-scan pipe is released:

script:
  - pipe: atlassian/git-secrets-scan:1.1.0
    variables:
      FILES: '*.txt *.json'

 

Best regards,
Oleksandr Kyrdan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events