0

I am trying to create a Jenkins/Fargate CI-CD workflow ( via the ECS-Fargate plugin). So jenkins would make use of Fargate tasks to do its work.

Two of the stages that i'm trying as part of the workflow:

  1. Docker Build

    How can we build or create a docker image out of a docker file on Fargate?

  2. Docker Image scan

    How and what tools can we use to scan and run the docker image scan stage on Fargate.

Dilip
  • 365
  • 1
  • 6
  • 18

2 Answers2

1

You can refer to this blog post for #1.

As per #2, Amazon ECR supports image scans so you can leverage that.

mreferre
  • 5,464
  • 3
  • 22
  • 29
0

You can use kaniko for building image in fargate container. You can check this github repository Jenkins agent docker kaniko.