mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
tweaking
This commit is contained in:
parent
551a3c2168
commit
a07776d16c
2 changed files with 8 additions and 10 deletions
|
@ -4,30 +4,30 @@ FROM alpine
|
|||
ADD dist/ /root/dist/
|
||||
|
||||
# Get and install dependencies & packages
|
||||
RUN apk -U upgrade && \
|
||||
apk add bash \
|
||||
RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
libffi-dev \
|
||||
openssl \
|
||||
openssl-dev \
|
||||
procps \
|
||||
python \
|
||||
python-dev \
|
||||
py-pip \
|
||||
py-setuptools && \
|
||||
apk -U add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
apk -U --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
py-qt && \
|
||||
|
||||
# Setup user
|
||||
addgroup -g 2000 rdpy && \
|
||||
adduser -S -s /bin/bash -u 2000 -D -g 2000 rdpy && \
|
||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 rdpy && \
|
||||
|
||||
# Install rdpy from git
|
||||
cd /home/rdpy && \
|
||||
git clone https://github.com/t3chn0m4g3/rdpy && \
|
||||
git clone --depth=1 https://github.com/t3chn0m4g3/rdpy && \
|
||||
pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir --upgrade cffi && \
|
||||
pip install twisted \
|
||||
pip install --no-cache-dir \
|
||||
twisted \
|
||||
pyopenssl \
|
||||
qt4reactor \
|
||||
service_identity \
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
# T-Pot (Standard)
|
||||
# For docker-compose ...
|
||||
version: '2.2'
|
||||
version: '2.3'
|
||||
|
||||
networks:
|
||||
rdpy_local:
|
||||
|
|
Loading…
Reference in a new issue