mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking
This commit is contained in:
@ -1,12 +1,21 @@
|
||||
FROM alpine
|
||||
MAINTAINER MO
|
||||
|
||||
# Include dist
|
||||
ADD dist/ /root/dist/
|
||||
|
||||
# Get and install dependencies & packages
|
||||
RUN apk -U upgrade && \
|
||||
apk add bash build-base git libffi-dev openssl openssl-dev procps python python-dev py-pip py-setuptools && \
|
||||
apk add bash \
|
||||
build-base \
|
||||
git \
|
||||
libffi-dev \
|
||||
openssl \
|
||||
openssl-dev \
|
||||
procps \
|
||||
python \
|
||||
python-dev \
|
||||
py-pip \
|
||||
py-setuptools && \
|
||||
apk -U add --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
py-qt && \
|
||||
|
||||
@ -18,7 +27,11 @@ RUN apk -U upgrade && \
|
||||
cd /home/rdpy && \
|
||||
git clone https://github.com/t3chn0m4g3/rdpy && \
|
||||
pip install --no-cache-dir --upgrade cffi && \
|
||||
pip install twisted pyopenssl qt4reactor service_identity rsa pyasn1==0.3.4 && \
|
||||
pip install twisted \
|
||||
pyopenssl \
|
||||
qt4reactor \
|
||||
service_identity \
|
||||
rsa pyasn1==0.3.4 && \
|
||||
cd rdpy && \
|
||||
python setup.py install && \
|
||||
|
||||
@ -29,7 +42,12 @@ RUN apk -U upgrade && \
|
||||
|
||||
# Clean up
|
||||
rm -rf /root/* && \
|
||||
apk del build-base libffi-dev openssl-dev python-dev py-pip py-qt && \
|
||||
apk del --purge build-base \
|
||||
libffi-dev \
|
||||
openssl-dev \
|
||||
python-dev \
|
||||
py-pip \
|
||||
py-qt && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
# Start rdpy
|
||||
|
Reference in New Issue
Block a user