aquasecurity/trivy

Required docker images for arm64

Open

#2,715 opened on Aug 16, 2022

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Go (35,000 stars) (371 forks)batch import
help wantedkind/featurelifecycle/frozen

Description

Hi team

I am trying to add arm64 support to enable the test in CI. I have successfully run the unit test, module-test on my local arm64 machine but Integration test is failing on arm64 machine as the docker images containerd:latest and vulnimage required in integration testing is not available for arm64. I have successfully built docker image for arm64 for containerd image without making any changes in Dockerfile, but I am not able to find the Dockerfile for vulnimage.

Error:


=== RUN   TestContainerd_LocalImage 

2022/08/16 05:54:54 Starting container id: f70e25c9053e image: ghcr.io/aquasecurity/trivy-test-images/containerd:latest 

2022/08/16 05:54:55 Waiting for container id f70e25c9053e image: ghcr.io/aquasecurity/trivy-test-images/containerd:latest 

    containerd_test.go:213: 

                Error Trace:    /home/ubuntu/trivy/pkg/fanal/test/integration/containerd_test.go:66 

                                                        /home/ubuntu/trivy/pkg/fanal/test/integration/containerd_test.go:213 

                Error:          Received unexpected error: 

                                context deadline exceeded: failed to start container 

                Test:           TestContainerd_LocalImage 

It will be very helpful if images for containerd and vulnimage are released for arm64.

Contributor guide