mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00
prep p0f, medpot for image rebuild
This commit is contained in:
parent
adab02a067
commit
1fe0247095
4 changed files with 7 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.13
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# Setup apk
|
# Setup apk
|
||||||
RUN apk -U --no-cache add \
|
RUN apk -U --no-cache add \
|
||||||
|
@ -9,6 +9,7 @@ RUN apk -U --no-cache add \
|
||||||
#
|
#
|
||||||
# Setup go, build medpot
|
# Setup go, build medpot
|
||||||
export GOPATH=/opt/go/ && \
|
export GOPATH=/opt/go/ && \
|
||||||
|
export GO111MODULE=off && \
|
||||||
mkdir -p /opt/go/src && \
|
mkdir -p /opt/go/src && \
|
||||||
cd /opt/go/src && \
|
cd /opt/go/src && \
|
||||||
git clone https://github.com/schmalle/medpot && \
|
git clone https://github.com/schmalle/medpot && \
|
||||||
|
|
|
@ -14,7 +14,7 @@ services:
|
||||||
- medpot_local
|
- medpot_local
|
||||||
ports:
|
ports:
|
||||||
- "2575:2575"
|
- "2575:2575"
|
||||||
image: "ghcr.io/telekom-security/medpot:2006"
|
image: "dtagdevsec/medpot:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
- /data/medpot/log/:/var/log/medpot
|
- /data/medpot/log/:/var/log/medpot
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
FROM alpine:3.13
|
# In case of problems Alpine 3.13 needs to be used:
|
||||||
|
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
|
||||||
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# Add source
|
# Add source
|
||||||
ADD . /opt/p0f
|
ADD . /opt/p0f
|
||||||
|
|
|
@ -8,7 +8,7 @@ services:
|
||||||
container_name: p0f
|
container_name: p0f
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
image: "ghcr.io/telekom-security/p0f:2006"
|
image: "dtagdevsec/p0f:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
- /data/p0f/log:/var/log/p0f
|
- /data/p0f/log:/var/log/p0f
|
||||||
|
|
Loading…
Reference in a new issue