Sign inSign up

arvindsv/cloudmapper

By arvindsv

•Updated over 7 years ago

A quick-and-dirty docker image for https://github.com/duo-labs/cloudmapper/

Image
1

239

arvindsv/cloudmapper repository overview

I do mean quick-and-dirty:

FROM ubuntu:latest

ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

EXPOSE 8000

RUN apt-get update && \
  apt-get -y install git autoconf automake libtool python3.7-dev python3-tk jq awscli python3-pip && \
  git clone https://github.com/duo-labs/cloudmapper.git && \
  cd cloudmapper/ && \
  python3 -m pip install --user pipenv && \
  ~/.local/bin/pipenv install --skip-lock

WORKDIR cloudmapper
CMD ~/.local/bin/pipenv run bash

Notice the disregard for apt data left behind, etc. I use it like this (demonstrative):

docker run --rm=true -p 8000:8000 arvindsv/cloudmapper:v1 

It'll drop you into a pipenv shell which has the cloudmapper code in that working dir and you can use it how you please. If you want to use the webserver, remember to use it like this, inside the shell (the --public is necessary):

~/.local/bin/pipenv run python cloudmapper.py webserver --public

Tag summary

Content type

Image

Digest

Size

514.6 MB

Last updated

over 7 years ago

docker pull arvindsv/cloudmapper:v1