This commit is contained in:
Marco Ochse
2018-03-29 16:21:00 +00:00
parent 8257ae0a09
commit 136e741334
9 changed files with 80 additions and 20 deletions

View File

@ -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