aquasecurity/trivy

Required docker images for arm64

Open

#2,715 创建于 2022年8月16日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Go (35,000 star) (371 fork)batch import
help wantedkind/featurelifecycle/frozen

描述

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.

贡献者指南

Required docker images for arm64 · aquasecurity/trivy#2715 | Good First Issue