From 37e4b509c50903baba5032d3e1b80588aed5fd25 Mon Sep 17 00:00:00 2001
From: SAM CARPENTER <sam.carpenter@wisc.edu>
Date: Fri, 19 Apr 2024 11:26:54 -0500
Subject: [PATCH] PLEASE work

---
 Dockerfile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 4f86931..806af9d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,6 +21,11 @@ ARG AGENT_URL="https://common.${REGION}.informaticacloud.com/package-manager/fil
 ARG USER=agent
 ENV INFA_HOME=/home/$USER/infaagent
 
+# this better bypass python trying to use pip install
+RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
+RUN unzip awscliv2.zip
+RUN ./aws/install
+
 # install system tools
 RUN apt-get update && apt-get install -y \
 curl \
@@ -35,9 +40,8 @@ tzdata \
 unixodbc \
 unzip \
 wget \
-libidn11
-
-RUN apt install -y --break-system-packages python3
+libidn11 \
+python3
 
 RUN python3 --version
 
-- 
GitLab