From e5b2d53f9a2c02920c68a54d23f0b3984a2d6463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= Date: Thu, 19 Oct 2023 17:47:04 +0100 Subject: [PATCH] chore: added sudo command --- ubuntu/Dockerfile | 2 +- ubuntu/Dockerfile.bionic | 2 +- ubuntu/Dockerfile.focal | 2 +- ubuntu/Dockerfile.jammy | 2 +- ubuntu/Dockerfile.rolling | 2 +- ubuntu/Dockerfile.xenial | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 44891e5..d2744ad 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python2 python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python2 python3 python3-distutils &&\ ln -s /usr/bin/python2 /usr/bin/python &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/get-pip.py" &&\ diff --git a/ubuntu/Dockerfile.bionic b/ubuntu/Dockerfile.bionic index 438f85b..038478a 100644 --- a/ubuntu/Dockerfile.bionic +++ b/ubuntu/Dockerfile.bionic @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 python3-distutils &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/pip/3.6/get-pip.py" &&\ wget "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -O get-pip-2.py &&\ diff --git a/ubuntu/Dockerfile.focal b/ubuntu/Dockerfile.focal index 5864993..173433e 100644 --- a/ubuntu/Dockerfile.focal +++ b/ubuntu/Dockerfile.focal @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 python3-distutils &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ echo | openssl s_client -connect bootstrap.pypa.io:443 -showcerts 2>/dev/null | openssl x509 -outform PEM > /tmp/bootstrap.pypa.io.crt &&\ wget --ca-certificate=/tmp/bootstrap.pypa.io.crt "https://bootstrap.pypa.io/get-pip.py" &&\ diff --git a/ubuntu/Dockerfile.jammy b/ubuntu/Dockerfile.jammy index 62e1d90..ba78cb7 100644 --- a/ubuntu/Dockerfile.jammy +++ b/ubuntu/Dockerfile.jammy @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python2 python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python2 python3 python3-distutils &&\ ln -s /usr/bin/python2 /usr/bin/python &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/get-pip.py" &&\ diff --git a/ubuntu/Dockerfile.rolling b/ubuntu/Dockerfile.rolling index 68038eb..bbcd2b1 100644 --- a/ubuntu/Dockerfile.rolling +++ b/ubuntu/Dockerfile.rolling @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python3-distutils &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python3 python3-distutils &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ rm /usr/lib/python3.11/EXTERNALLY-MANAGED &&\ wget "https://bootstrap.pypa.io/get-pip.py" &&\ diff --git a/ubuntu/Dockerfile.xenial b/ubuntu/Dockerfile.xenial index 8e1ce42..581bb65 100644 --- a/ubuntu/Dockerfile.xenial +++ b/ubuntu/Dockerfile.xenial @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions " ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update &&\ - apt-get install -y -q --no-install-recommends bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 &&\ + apt-get install -y -q --no-install-recommends sudo bash wget git openssl unzip ca-certificates dirmngr apt-transport-https python python3 &&\ apt-get clean && rm -rf /var/lib/apt/lists/* &&\ wget "https://bootstrap.pypa.io/pip/3.5/get-pip.py" &&\ wget "https://bootstrap.pypa.io/pip/2.7/get-pip.py" -O get-pip-2.py &&\