To receive base image fix advice, including major, minor and alternative upgrades as well as advice when you need to rebuild your image, integrate with your preferred Git repository and import the repo that contains the relevant Dockerfile.
You can add a single Dockerfile to each image that you've imported.
To add your Dockerfile for additional fix advice:
Ensure the relevant Git repository has been configured.
Import the relevant image from its registry first.
From the Project tab, filter for your project and then click the settings cog to access the settings to add a Dockerfile.
From the Project settings page, click Configure Dockerfile and then select the relevant Git.
The Add Projects view appears, displaying all repositories from the Git account with which you integrated, grouped per organization and personal account:
Checkmark the relevant repo from which to import the Dockerfile.
Step 2 loads.
Enter the relative path in the Path to your Dockerfile field in the following format: /path/dockerfile.
Snyk tests the project again, this time producing any relevant base image fix advice such as in the following example: