Skip to content

Commit

Permalink
fix regex (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinblack authored Jul 4, 2023
1 parent d92e4b9 commit 2a58668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/requirements/containerfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2a58668

Please sign in to comment.