mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
tweaking
This commit is contained in:
parent
2128c6a2b0
commit
e1c806ebe8
2 changed files with 18 additions and 13 deletions
|
@ -1,19 +1,23 @@
|
|||
FROM alpine
|
||||
|
||||
# Setup env and apt
|
||||
RUN apk -U upgrade && \
|
||||
apk add bash \
|
||||
RUN apk -U --no-cache add \
|
||||
build-base \
|
||||
git \
|
||||
nodejs \
|
||||
nodejs-npm \
|
||||
openssh-client \
|
||||
python \
|
||||
procps && \
|
||||
python && \
|
||||
|
||||
# Setup user
|
||||
addgroup -g 2000 wetty && \
|
||||
adduser -S -s /bin/bash -u 2000 -D -g 2000 wetty && \
|
||||
adduser -S -s /bin/ash -u 2000 -D -g 2000 wetty && \
|
||||
#mkdir -p /home/wetty/.ssh && \
|
||||
#chmod 755 /home/wetty/.ssh && \
|
||||
#chown wetty:wetty /home/wetty/.ssh && \
|
||||
#touch /home/wetty/.ssh/known_hosts && \
|
||||
#chmod 777 /home/wetty/.ssh/known_hosts && \
|
||||
#chown wetty:wetty /home/wetty/.ssh/known_hosts && \
|
||||
|
||||
# Get and install packages
|
||||
mkdir -p /opt/ && \
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
# T-Pot (Standard)
|
||||
# For docker-compose ...
|
||||
version: '2.2'
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
|
||||
|
@ -13,5 +11,8 @@ services:
|
|||
network_mode: "host"
|
||||
env_file:
|
||||
- /opt/tpot/etc/compose/wetty_environment
|
||||
tmpfs:
|
||||
- /home/wetty/.ssh/:uid=2000,gid=2000
|
||||
image: "dtagdevsec/wetty:1804"
|
||||
read_only: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue