From 43a9d447ff57a6c6322dee7792338c29539bb1b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Bert=C3=B3?= <141527866+bertogravscale@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:48:51 -0300 Subject: [PATCH] Update Dockerfile updated to python 3.9 and improved apt-get dependences --- Dockerfile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25fd522cd..a96a64d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7-slim as cloudmapper +FROM python:3.9-slim as cloudmapper LABEL maintainer="https://github.com/0xdabbad00/" LABEL Project="https://github.com/duo-labs/cloudmapper" @@ -8,8 +8,19 @@ WORKDIR /opt/cloudmapper ENV AWS_DEFAULT_REGION=us-east-1 RUN apt-get update -y -RUN apt-get install -y build-essential autoconf automake libtool python3-tk jq awscli -RUN apt-get install -y bash + +RUN apt-get install -y \ + build-essential \ + libssl-dev \ + libffi-dev \ + python3-dev \ + autoconf \ + automake \ + libtool \ + python3-tk \ + jq \ + bash \ + awscli COPY . /opt/cloudmapper RUN pip install -r requirements.txt