From c434df8ede99be4fb4d6580def3e0dc416a62f80 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Fri, 26 Jun 2020 12:54:15 -0700 Subject: [PATCH 1/4] Add bash to the ubi-release image alpine only comes with ash, which is pain when you are trying to create clean looking script files. Also bumped the alpine version one step, to keep us from getting too out of date. --- Dockerfile.ubi-release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.ubi-release b/Dockerfile.ubi-release index 26c087e..c79985a 100644 --- a/Dockerfile.ubi-release +++ b/Dockerfile.ubi-release @@ -1,4 +1,4 @@ -FROM alpine:3.10 +FROM alpine:3.11 -RUN apk --no-cache add curl gnupg py-pip \ +RUN apk --no-cache add curl gnupg py-pip bash \ && pip install --no-cache-dir awscli From fee3b2233e2f46e572e5e191a3a1f5374962c793 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Fri, 26 Jun 2020 13:47:27 -0700 Subject: [PATCH 2/4] Update to alpine 3.12 to get python 3 pip --- Dockerfile.ubi-release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.ubi-release b/Dockerfile.ubi-release index c79985a..cd9202f 100644 --- a/Dockerfile.ubi-release +++ b/Dockerfile.ubi-release @@ -1,4 +1,4 @@ -FROM alpine:3.11 +FROM alpine:3.12 -RUN apk --no-cache add curl gnupg py-pip bash \ +RUN apk --no-cache add curl gnupg py3-pip bash \ && pip install --no-cache-dir awscli From 1570c6c00cacec2859aa12de1f8fb97048e0d0f5 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Fri, 26 Jun 2020 13:53:45 -0700 Subject: [PATCH 3/4] Use pip3 to grab python3 awscli --- Dockerfile.ubi-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.ubi-release b/Dockerfile.ubi-release index cd9202f..424895e 100644 --- a/Dockerfile.ubi-release +++ b/Dockerfile.ubi-release @@ -1,4 +1,4 @@ FROM alpine:3.12 RUN apk --no-cache add curl gnupg py3-pip bash \ - && pip install --no-cache-dir awscli + && pip3 install --no-cache-dir awscli From ef20928f14da7873f15e0a9e11af649ff98b2a41 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Fri, 26 Jun 2020 13:58:52 -0700 Subject: [PATCH 4/4] Revert "Use pip3 to grab python3 awscli" This reverts commit 1570c6c00cacec2859aa12de1f8fb97048e0d0f5. --- Dockerfile.ubi-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.ubi-release b/Dockerfile.ubi-release index 424895e..cd9202f 100644 --- a/Dockerfile.ubi-release +++ b/Dockerfile.ubi-release @@ -1,4 +1,4 @@ FROM alpine:3.12 RUN apk --no-cache add curl gnupg py3-pip bash \ - && pip3 install --no-cache-dir awscli + && pip install --no-cache-dir awscli