From 9a5407169890a79ba624096a0c9985caa228f10b Mon Sep 17 00:00:00 2001 From: Mitch Beaumont Date: Tue, 26 Apr 2022 14:26:22 +1000 Subject: [PATCH] Updating multiple Dockerfile file to use the ubuntu:20.04 container image for the ubuntu image to fixes a runtime issue caused by python10 in the latest version of the ubuntu image --- workshop-1/app/like-service/Dockerfile | 2 +- workshop-1/app/monolith-service/Dockerfile.draft | 2 +- workshop-2/app/like-service/Dockerfile | 2 +- workshop-2/app/monolith-service/Dockerfile | 2 +- workshop-3/app/like-service/Dockerfile | 2 +- workshop-3/app/monolith-service/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/workshop-1/app/like-service/Dockerfile b/workshop-1/app/like-service/Dockerfile index b073b6e..6e903a2 100644 --- a/workshop-1/app/like-service/Dockerfile +++ b/workshop-1/app/like-service/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN echo Updating existing packages, installing and upgrading python and pip. RUN apt-get update -y RUN apt-get install -y python3-pip python-dev build-essential diff --git a/workshop-1/app/monolith-service/Dockerfile.draft b/workshop-1/app/monolith-service/Dockerfile.draft index 6e60485..36e172b 100644 --- a/workshop-1/app/monolith-service/Dockerfile.draft +++ b/workshop-1/app/monolith-service/Dockerfile.draft @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN apt-get update -y RUN apt-get install -y python3-pip python-dev build-essential RUN pip3 install --upgrade pip diff --git a/workshop-2/app/like-service/Dockerfile b/workshop-2/app/like-service/Dockerfile index 8d51d14..78773e4 100644 --- a/workshop-2/app/like-service/Dockerfile +++ b/workshop-2/app/like-service/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN echo Updating existing packages, installing and upgrading python and pip. RUN apt-get update -y RUN apt-get install -y python-pip python-dev build-essential diff --git a/workshop-2/app/monolith-service/Dockerfile b/workshop-2/app/monolith-service/Dockerfile index 01ea4ed..fff74e9 100644 --- a/workshop-2/app/monolith-service/Dockerfile +++ b/workshop-2/app/monolith-service/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN echo Updating existing packages, installing and upgrading python and pip. RUN apt-get update -y RUN apt-get install -y python-pip python-dev build-essential diff --git a/workshop-3/app/like-service/Dockerfile b/workshop-3/app/like-service/Dockerfile index b073b6e..6e903a2 100755 --- a/workshop-3/app/like-service/Dockerfile +++ b/workshop-3/app/like-service/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN echo Updating existing packages, installing and upgrading python and pip. RUN apt-get update -y RUN apt-get install -y python3-pip python-dev build-essential diff --git a/workshop-3/app/monolith-service/Dockerfile b/workshop-3/app/monolith-service/Dockerfile index d5e80c0..17e555e 100755 --- a/workshop-3/app/monolith-service/Dockerfile +++ b/workshop-3/app/monolith-service/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:20.04 RUN echo Updating existing packages, installing and upgrading python and pip. RUN apt-get update -y RUN apt-get install -y python3-pip python-dev build-essential