Skip to content

Commit

Permalink
update supported container base image (#63)
Browse files Browse the repository at this point in the history
* update supported container base image

* syntax fix

* gofmt
  • Loading branch information
dustinblack authored Jul 4, 2023
1 parent 0b45425 commit 35caf89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/requirements/containerfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ 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": "Dockerfile doesn't use 'FROM quay.io/centos/centos:stream8'\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 [])",
"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",
"LABEL org.opencontainers.image.licenses=\"Apache-2\\.0.*\"": "Dockerfile is missing LABEL org.opencontainers.image.licenses",
"LABEL org.opencontainers.image.vendor=\"Arcalot project\"": "Dockerfile is missing LABEL org.opencontainers.image.vendor",
Expand Down

0 comments on commit 35caf89

Please sign in to comment.