Skip to content

Instantly share code, notes, and snippets.

@ravens
Created July 28, 2021 05:44
Show Gist options
  • Save ravens/6bc15c339d6ae58042e63f332ccab5ca to your computer and use it in GitHub Desktop.
Save ravens/6bc15c339d6ae58042e63f332ccab5ca to your computer and use it in GitHub Desktop.
Dcokerfile for pycrate/corenet
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get -yq install build-essential git python3-dev libsctp-dev python3-pip
WORKDIR /root
RUN pip3 install pycrypto
RUN git clone https://github.com/mitshell/CryptoMobile.git
WORKDIR /root/CryptoMobile
RUN python3 setup.py install
WORKDIR /root
RUN git clone https://github.com/P1sec/pysctp
WORKDIR /root/pysctp
RUN python3 setup.py install
WORKDIR /root
RUN git clone https://github.com/P1sec/pycrate
WORKDIR /root/pycrate
VOLUME /config
ENV PYTHONUNBUFFERED 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment