-
Notifications
You must be signed in to change notification settings - Fork 29
/
Dockerfile
23 lines (18 loc) · 827 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3.9.4-alpine
LABEL name="cfn-lint-action"
LABEL repository="https://github.com/ScottBrenner/cfn-lint-action"
LABEL homepage="https://github.com/ScottBrenner/cfn-lint-action"
LABEL org.opencontainers.image.source="https://github.com/ScottBrenner/cfn-lint-action"
LABEL "com.github.actions.name"="cfn-lint-action"
LABEL "com.github.actions.description"="GitHub Action for CloudFormation Linter"
LABEL "com.github.actions.icon"="box"
LABEL "com.github.actions.color"="green"
LABEL "maintainer"="Scott Brenner <[email protected]>"
RUN pip install cfn-lint --no-cache-dir
RUN cfn-lint --update-specs
RUN cfn-lint --update-iam-policies
COPY cfn-lint.json /cfn-lint.json
COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["**/*.yml"]