From 2a5866891da96805f5ab1179234b2b963e3955c2 Mon Sep 17 00:00:00 2001 From: Dustin Black Date: Tue, 4 Jul 2023 14:00:14 +0200 Subject: [PATCH] fix regex (#65) --- internal/requirements/containerfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/requirements/containerfile.go b/internal/requirements/containerfile.go index cd4f2d3..d1e916a 100644 --- a/internal/requirements/containerfile.go +++ b/internal/requirements/containerfile.go @@ -37,7 +37,7 @@ func ContainerfileRequirements(abspath string, logger log.Logger) (bool, error) // create map of regexp patterns to search for in Dockerfile as well as log information if not found m := map[string]string{ - "FROM quay\\.io/(centos/centos:stream8|arcalot/arcaflow-plugin-baseimage-python-.*base$)": "Dockerfile doesn't use a supported base image\n", + "FROM quay\\.io/(centos/centos:stream8|arcalot/arcaflow-plugin-baseimage-python-.*base)": "Dockerfile doesn't use a supported base image\n", "(ADD|COPY) .*/?LICENSE /.*": "Dockerfile does not contain copy of arcaflow plugin license\n", "CMD \\[\\]": "Dockerfile does not contain an empty command (i.e. CMD [])", "LABEL org.opencontainers.image.source=\".*\"": "Dockerfile is missing LABEL org.opencontainers.image.source",