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/
|
ADD dist/ /root/dist/
|
||||||
|
|
||||||
# Get and install dependencies & packages
|
# Get and install dependencies & packages
|
||||||
RUN apk -U upgrade && \
|
RUN apk -U --no-cache add \
|
||||||
apk add bash \
|
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl \
|
openssl \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
procps \
|
|
||||||
python \
|
python \
|
||||||
python-dev \
|
python-dev \
|
||||||
py-pip \
|
py-pip \
|
||||||
py-setuptools && \
|
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 && \
|
py-qt && \
|
||||||
|
|
||||||
# Setup user
|
# Setup user
|
||||||
addgroup -g 2000 rdpy && \
|
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
|
# Install rdpy from git
|
||||||
cd /home/rdpy && \
|
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 --no-cache-dir --upgrade cffi && \
|
||||||
pip install twisted \
|
pip install --no-cache-dir \
|
||||||
|
twisted \
|
||||||
pyopenssl \
|
pyopenssl \
|
||||||
qt4reactor \
|
qt4reactor \
|
||||||
service_identity \
|
service_identity \
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# T-Pot (Standard)
|
version: '2.3'
|
||||||
# For docker-compose ...
|
|
||||||
version: '2.2'
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
rdpy_local:
|
rdpy_local:
|
||||||
|
|
Loading…
Reference in a new issue