duo-labs / cloudmapper

CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
BSD 3-Clause "New" or "Revised" License
5.9k stars 797 forks source link

Building the Dockerfile fails #893

Open richstokes opened 2 years ago

richstokes commented 2 years ago
 docker build -t cloudmapper . 

[+] Building 3.1s (8/12)                                                                                                                                    
 => [internal] load build definition from Dockerfile                                                                                                   0.0s
 => => transferring dockerfile: 86B                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                      0.0s
 => => transferring context: 83B                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/python:3.7-slim                                                                                     1.9s
 => [1/8] FROM docker.io/library/python:3.7-slim@sha256:ebc447a481b94b3afe2587ccdcc0128c3175fcfeb89ee33461a562b41310d403                               0.0s
 => [internal] load build context                                                                                                                      0.0s
 => => transferring context: 21.94kB                                                                                                                   0.0s
 => CACHED [2/8] WORKDIR /opt/cloudmapper                                                                                                              0.0s
 => CACHED [3/8] RUN apt-get update -y                                                                                                                 0.0s
 => ERROR [4/8] RUN apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli                                    1.1s
------                                                                                                                                                      
 > [4/8] RUN apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli:                                               
#7 0.204 Reading package lists...                                                                                                                           
#7 0.777 Building dependency tree...
#7 0.913 Reading state information...
#7 1.096 E: Unable to locate package python3.7-dev
#7 1.096 E: Couldn't find any package by glob 'python3.7-dev'
#7 1.096 E: Couldn't find any package by regex 'python3.7-dev'
------
executor failed running [/bin/sh -c apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli]: exit code: 100
w0rmr1d3r commented 2 years ago

I believe this PR https://github.com/duo-labs/cloudmapper/pull/892 fixes it @richstokes

vnguyen00 commented 2 years ago

Confirmed this fixed it.