From 7ae89fd19a86a662e0ca256e92d8dcea32ad8485 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 21 Sep 2024 00:23:48 +0500 Subject: [PATCH 1/3] feat: add pipx to base image --- images/base/ubuntu.Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/images/base/ubuntu.Dockerfile b/images/base/ubuntu.Dockerfile index 07ed181..f0dcf42 100644 --- a/images/base/ubuntu.Dockerfile +++ b/images/base/ubuntu.Dockerfile @@ -27,8 +27,7 @@ RUN apt-get update && \ jq \ locales \ man \ - python3 \ - python3-pip \ + pipx \ software-properties-common \ sudo \ systemd \ From 8d4725ab87ad35f50bfcc530232bd25d107ac65b Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 21 Sep 2024 00:32:17 +0500 Subject: [PATCH 2/3] Update ubuntu.Dockerfile --- images/base/ubuntu.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/base/ubuntu.Dockerfile b/images/base/ubuntu.Dockerfile index f0dcf42..3fe5d3d 100644 --- a/images/base/ubuntu.Dockerfile +++ b/images/base/ubuntu.Dockerfile @@ -38,7 +38,7 @@ RUN apt-get update && \ rsync && \ # Install latest Git using their official PPA add-apt-repository ppa:git-core/ppa && \ - apt-get install --yes git \ + apt-get install --yes git && \ && rm -rf /var/lib/apt/lists/* # Enables Docker starting with systemd @@ -61,3 +61,4 @@ RUN userdel -r ubuntu && \ echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd USER coder +RUN pipx ensurepath # adds user's bin directory to PATH From 85f764a480c3fafc5ccc8216837c8617df7b15b4 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Sat, 21 Sep 2024 00:32:37 +0500 Subject: [PATCH 3/3] Update ubuntu.Dockerfile --- images/base/ubuntu.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/base/ubuntu.Dockerfile b/images/base/ubuntu.Dockerfile index 3fe5d3d..4600bac 100644 --- a/images/base/ubuntu.Dockerfile +++ b/images/base/ubuntu.Dockerfile @@ -38,7 +38,7 @@ RUN apt-get update && \ rsync && \ # Install latest Git using their official PPA add-apt-repository ppa:git-core/ppa && \ - apt-get install --yes git && \ + apt-get install --yes git \ && rm -rf /var/lib/apt/lists/* # Enables Docker starting with systemd