Skip to content

Commit

Permalink
chore: added sudo command
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Oct 19, 2023
1 parent 08c57fd commit e5b2d53
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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" &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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 &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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" &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.jammy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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" &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.rolling
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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" &&\
Expand Down
2 changes: 1 addition & 1 deletion ubuntu/Dockerfile.xenial
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="Hive Solutions <[email protected]>"
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 &&\
Expand Down

0 comments on commit e5b2d53

Please sign in to comment.