Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Python 3.5 EOL #11

Open
anamorph opened this issue Mar 21, 2021 · 0 comments
Open

Python 3.5 EOL #11

anamorph opened this issue Mar 21, 2021 · 0 comments

Comments

@anamorph
Copy link

anamorph commented Mar 21, 2021

As python 3.5 is EOL, this breaks the container build.

a quickfix is in order:

in https://github.com/aws-samples/aws-iot-analytics-workshop#setup-the-docker-image-on-ec2:

wget https://bootstrap.pypa.io/pip/3.5/get-pip.py

then edit Dockerfile as follows:

FROM ubuntu:16.04
# Get required set of software
RUN apt-get update
RUN apt-get install -y python3-pip
ADD get-pip.py get-pip.py
ENTRYPOINT ["python3", "get-pip.py"]
# Get boto for S3 and other libraries
RUN pip3 install boto3
RUN pip3 install urllib3
RUN pip3 install requests
RUN pip3 install RateLimiter
RUN pip3 install split
RUN pip3 install chop
ADD load_data.py load_data.py
# Start python script
ENTRYPOINT ["python3", "load_data.py"]

-Nico

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant