Skip to content

Commit

Permalink
linting Dockerfile (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMyron authored and ScottBrenner committed Jul 31, 2019
1 parent b4dfba1 commit fec199a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ LABEL "com.github.actions.color"="green"

LABEL "maintainer"="Scott Brenner <[email protected]>"

RUN apk update && apk upgrade
RUN apk add python3
RUN rm -rf /var/cache/apk/*
RUN apk --no-cache add python3
RUN pip3 install cfn-lint

COPY entrypoint.sh /entrypoint.sh
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["**/*.yml"]
CMD ["**/*.yml"]

0 comments on commit fec199a

Please sign in to comment.