Skip to content

cdk deploy fails on amazon linux #908

Description

@matt-f-tsu

Trying to install the "auditor" component of CloudMapper, running:

cdk deploy

fails with the following error:

CloudmapperauditorStack: deploying...
[0%] start: Publishing 7d99a4f586c59ecd17b087e69f249b899a5673a27876f69da07978510d40128f:current
[33%] success: Published 7d99a4f586c59ecd17b087e69f249b899a5673a27876f69da07978510d40128f:current
[33%] start: Publishing b120b13d9d868c7622e7db1b68bae4c0f82ffd0227b8c15f2cef38e186ff3827:current
[66%] success: Published b120b13d9d868c7622e7db1b68bae4c0f82ffd0227b8c15f2cef38e186ff3827:current
[66%] start: Publishing f3f824f4fd47765523da8b5b127808a608cbde9379a25e750ccae51a56547802:current
Sending build context to Docker daemon 5.637MB
Step 1/12 : FROM python:3.7-slim as cloudmapper
---> e7de75b2cb5a
Step 2/12 : LABEL maintainer="https://github.com/0xdabbad00/"
---> Using cache
---> dd7381097d28
Step 3/12 : LABEL Project="https://github.com/duo-labs/cloudmapper"
---> Using cache
---> be0ed038a6e5
Step 4/12 : WORKDIR /opt/cloudmapper
---> Using cache
---> 977693909a82
Step 5/12 : ENV AWS_DEFAULT_REGION=us-east-1
---> Using cache
---> addae45f0ff0
Step 6/12 : RUN apt-get update -y
---> Using cache
---> 1a8bf1c5b5c2
Step 7/12 : RUN apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli
---> Running in d43cbfc4691c
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python3.7-dev
E: Couldn't find any package by glob 'python3.7-dev'
E: Couldn't find any package by regex 'python3.7-dev'
The command '/bin/sh -c apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli' returned a non-zero code: 100
[100%] fail: docker build --tag cdkasset-f3f824f4fd47765523da8b5b127808a608cbde9379a25e750ccae51a56547802 . exited with error code 100: The command '/bin/sh -c apt-get install -y build-essential autoconf automake libtool python3.7-dev python3-tk jq awscli' returned a non-zero code: 100

❌ CloudmapperauditorStack failed: Error: Failed to publish one or more assets. See the error messages above for more information.
Failed to publish one or more assets. See the error messages above for more information.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions