From 3da5dbc30261f77b3ef33d7c8287b45f73ca47e6 Mon Sep 17 00:00:00 2001 From: Wesley Pettit Date: Wed, 9 Dec 2020 13:16:55 -0800 Subject: [PATCH] Explicitly use pip3 and python3 Signed-off-by: Wesley Pettit --- integ/clean_cloudwatch/Dockerfile | 6 +++--- integ/validate_cloudwatch/Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/integ/clean_cloudwatch/Dockerfile b/integ/clean_cloudwatch/Dockerfile index 5d88a6654..37b19d1fd 100644 --- a/integ/clean_cloudwatch/Dockerfile +++ b/integ/clean_cloudwatch/Dockerfile @@ -1,11 +1,11 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:latest -RUN yum upgrade -y && yum install -y python3 pip +RUN yum upgrade -y && yum install -y python3 pip3 -RUN pip install boto3 +RUN pip3 install boto3 WORKDIR /usr/local/bin COPY clean.py . -CMD ["python", "clean.py"] +CMD ["python3", "clean.py"] diff --git a/integ/validate_cloudwatch/Dockerfile b/integ/validate_cloudwatch/Dockerfile index 1c0a1251d..f1193d44f 100644 --- a/integ/validate_cloudwatch/Dockerfile +++ b/integ/validate_cloudwatch/Dockerfile @@ -1,11 +1,11 @@ FROM public.ecr.aws/amazonlinux/amazonlinux:latest -RUN yum upgrade -y && yum install -y python3 pip +RUN yum upgrade -y && yum install -y python3 pip3 -RUN pip install boto3 +RUN pip3 install boto3 WORKDIR /usr/local/bin COPY validator.py . -CMD ["python", "validator.py"] +CMD ["python3", "validator.py"]