From 2f1c42e88f17ebaf17499c67f7a23d7fcba9a96d Mon Sep 17 00:00:00 2001 From: Ming Xie Date: Mon, 11 May 2020 00:56:47 -0400 Subject: [PATCH] Update Docker base image to python:3.8-alpine (#16) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5022761..0bc911d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" @@ -11,8 +11,7 @@ LABEL "com.github.actions.color"="green" LABEL "maintainer"="Scott Brenner " -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