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"]
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:
then edit Dockerfile as follows:
-Nico