Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alias support for base images check #546

Open
tomaszbarwicki opened this issue Oct 10, 2023 · 0 comments
Open

Add alias support for base images check #546

tomaszbarwicki opened this issue Oct 10, 2023 · 0 comments

Comments

@tomaszbarwicki
Copy link
Contributor

Creating an issue for that for future fix.

At the moment quality check tool doesn't support 'aliases' in the Dockerfile i.e 'FROM base AS final' hence the check is reporting it as not allowed image.

Testing Quality Guideline: TRG 4.02 - Base images
Start finding Dockerfiles at ./
Found Dockerfiles: docker/Dockerfile-administration-service,
docker/Dockerfile-iam-seeding,
docker/Dockerfile-maintenance-service,
docker/Dockerfile-marketplace-app-service,
docker/Dockerfile-notification-service,
docker/Dockerfile-portal-migrations,
docker/Dockerfile-processes-worker,
docker/Dockerfile-provisioning-migrations,
docker/Dockerfile-registration-service,
docker/Dockerfile-services-service
Failed! Guideline description: We are aligning all product Docker images to a set of approved ones. This also makes it easier to properly annotate the used images as dependency
We want to align on docker base images. We detected a Dockerfile specifying base AS final, base AS final, base AS final, base AS final, base AS final, base AS final, base AS final, base AS final, base AS final, base AS final
Allowed images are:
- eclipse-temurin
- nginxinc/nginx-unprivileged
- mcr.microsoft.com/dotnet/runtime
- mcr.microsoft.com/dotnet/aspnet
More infos: https://eclipse-tractusx.github.io/docs/release/trg-4/trg-4-02

Example Dockerfiles: https://github.com/eclipse-tractusx/portal-backend/tree/main/docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

1 participant