Skip to content

Commit

Permalink
Explicitly use pip3 and python3
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Pettit <[email protected]>
  • Loading branch information
PettitWesley authored and zhonghui12 committed Dec 9, 2020
1 parent c44882f commit 3da5dbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions integ/clean_cloudwatch/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
6 changes: 3 additions & 3 deletions integ/validate_cloudwatch/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 3da5dbc

Please sign in to comment.