aws-samples / amazon-ecs-mythicalmysfits-workshop

A tutorial for developers who want to learn about how to containerized applications on top of AWS using AWS Fargate. You will build a sample website that leverages infrastructure as code, containers, CI/CD, and more! If you're planning on running this, let us know @ aws-mythical-mysfits@amazon.com. At re:Invent 2018, these sessions were run as CON214/CON321/CON322.
Apache License 2.0
336 stars 176 forks source link

Incompatible with Ubuntu:20.20 #25

Open nerdyness opened 4 years ago

nerdyness commented 4 years ago

Hi there,

You reference the package python-pip in several Dockerfiles however since you're including FROM ubuntu:latest it uses Ubuntu 20.20 which no longer supports Python2. There is a python3-pip however the like service is very much Python 2.

Even if I pin the Docker image to FROM ubuntu:18.04 I get some exceptions and thus the healthcheck keeps killing my containers.

ahabman commented 4 years ago

I also had to pin the ubuntu version. Both 18.04 and 19.10 worked for me. No errors.

nerdyness commented 4 years ago

Hi @ahabman, I should have been clearer in my description. If you pin the ubuntu version in the docker image the container builds with no errors.

However if you then run said image, the code throws some python exceptions and thus the load balancer terminates the container and spins up a new task. In either case, the workshop probably needs some work. I'm happy to help out, you can ping me on Chime (krisstef@) for further clarification 👍