Skip to content

Commit

Permalink
Update Docker base image to python:3.8-alpine (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmingxie authored May 11, 2020
1 parent 1ab0f7a commit 2f1c42e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3
FROM python:3.8-alpine

LABEL name="cfn-lint-action"
LABEL repository="https://github.com/ScottBrenner/cfn-lint-action"
Expand All @@ -11,8 +11,7 @@ LABEL "com.github.actions.color"="green"

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

RUN apk --no-cache add python3
RUN pip3 install cfn-lint
RUN pip install cfn-lint --no-cache-dir
RUN cfn-lint --update-specs
RUN cfn-lint --update-iam-policies

Expand Down

0 comments on commit 2f1c42e

Please sign in to comment.