mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +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
|
FROM alpine
|
||||||
|
|
||||||
# Setup env and apt
|
# Setup env and apt
|
||||||
RUN apk -U upgrade && \
|
RUN apk -U --no-cache add \
|
||||||
apk add bash \
|
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
nodejs \
|
nodejs \
|
||||||
nodejs-npm \
|
nodejs-npm \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
python \
|
python && \
|
||||||
procps && \
|
|
||||||
|
|
||||||
# Setup user
|
# Setup user
|
||||||
addgroup -g 2000 wetty && \
|
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
|
# Get and install packages
|
||||||
mkdir -p /opt/ && \
|
mkdir -p /opt/ && \
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
# T-Pot (Standard)
|
version: '2.3'
|
||||||
# For docker-compose ...
|
|
||||||
version: '2.2'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
@ -13,5 +11,8 @@ services:
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
env_file:
|
env_file:
|
||||||
- /opt/tpot/etc/compose/wetty_environment
|
- /opt/tpot/etc/compose/wetty_environment
|
||||||
|
tmpfs:
|
||||||
|
- /home/wetty/.ssh/:uid=2000,gid=2000
|
||||||
image: "dtagdevsec/wetty:1804"
|
image: "dtagdevsec/wetty:1804"
|
||||||
read_only: true
|
read_only: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue