globocom / huskyCI

Performing security tests inside your CI
https://huskyci.opensource.globo.com
BSD 3-Clause "New" or "Revised" License
572 stars 137 forks source link

Bumping the mongo image version so it works on Apple Silicon machines #581

Open raphabot-snyk opened 10 months ago

raphabot-snyk commented 10 months ago

Description

As a M2 Macbook user, I tried to start using huskyCI, I wasn't able to run make install with the following error: Screenshot 2023-12-06 at 9 01 53 AM

After verifying Dockerhub, I could confirm the tag being used (4.2.2), only supports linux/amd64: image

Bumping the mongo image version to 4.2.24, which supports linux/arm64/v8, made it work.

Proposed Changes

Update mongo image tag from 4.2.2 to 4.2.24.

Testing

Run the following on a Apple Silicone machine:

make install