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

View File

@ -1,6 +1,6 @@
# T-Pot (Standard)
# For docker-compose ...
version: '2.1'
version: '2.2'
networks:
rdpy_local:
@ -9,12 +9,14 @@ services:
# Rdpy service
rdpy:
build: .
container_name: rdpy
restart: always
networks:
- rdpy_local
ports:
- "3389:3389"
image: "dtagdevsec/rdpy:1710"
image: "dtagdevsec/rdpy:1804"
read_only: true
volumes:
- /data/rdpy/log:/var/log/rdpy