mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
include docker repos
... skip emobility since it is a dev repo
This commit is contained in:
29
docker/vnclowpot/Dockerfile
Normal file
29
docker/vnclowpot/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
||||
FROM alpine
|
||||
MAINTAINER MO
|
||||
|
||||
# Include dist
|
||||
#ADD dist/ /root/dist/
|
||||
|
||||
# Setup apk
|
||||
RUN apk -U add bash \
|
||||
build-base \
|
||||
git \
|
||||
go \
|
||||
procps && \
|
||||
|
||||
# Setup vnclowpot
|
||||
go get github.com/magisterquis/vnclowpot && \
|
||||
go install github.com/magisterquis/vnclowpot && \
|
||||
|
||||
# Setup user, groups and configs
|
||||
addgroup -g 2000 vnclowpot && \
|
||||
adduser -S -s /bin/bash -u 2000 -D -g 2000 vnclowpot && \
|
||||
mkdir -p /var/log/vnclowpot && \
|
||||
|
||||
# Clean up
|
||||
apk del build-base \
|
||||
git && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
# Run supervisor upon container start
|
||||
CMD /root/go/bin/vnclowpot -j >> /var/log/vnclowpot/vnclowpot.log
|
4
docker/vnclowpot/README.md
Normal file
4
docker/vnclowpot/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
[](https://microbadger.com/images/dtagdevsec/vnclowpot:1706 "Get your own version badge on microbadger.com") [](https://microbadger.com/images/dtagdevsec/vnclowpot:1706 "Get your own image badge on microbadger.com")
|
||||
|
||||
# vnclowpot
|
||||
|
18
docker/vnclowpot/docker-compose.yml
Normal file
18
docker/vnclowpot/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '2.1'
|
||||
|
||||
networks:
|
||||
vnclowpot_local:
|
||||
|
||||
services:
|
||||
|
||||
# vnclowpot service
|
||||
vnclowpot:
|
||||
container_name: vnclowpot
|
||||
restart: always
|
||||
networks:
|
||||
- vnclowpot_local
|
||||
ports:
|
||||
- "5900:5900"
|
||||
image: "dtagdevsec/vnclowpot:1706"
|
||||
volumes:
|
||||
- /data/vnclowpot/log:/var/log/vnclowpot
|
Reference in New Issue
Block a user