Skip to content
Snippets Groups Projects
Commit 610b3b86 authored by SAM CARPENTER's avatar SAM CARPENTER
Browse files

Update Dockerfile

parent 37e4b509
No related branches found
No related tags found
1 merge request!57Python Addition
......@@ -21,11 +21,6 @@ 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 \
......@@ -41,7 +36,13 @@ unixodbc \
unzip \
wget \
libidn11 \
python3
python3 \
pipx
# all this to run python properly
RUN pipx ensurepath
ENV PATH="$PATH:/root/.local/bin"
RUN pipx install awscli
RUN python3 --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment