mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweaking, hardening
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
FROM alpine
|
||||
|
||||
# Install packages
|
||||
RUN apk -U upgrade && \
|
||||
apk add alpine-sdk \
|
||||
RUN apk -U --no-cache add \
|
||||
alpine-sdk \
|
||||
autoconf \
|
||||
automake \
|
||||
bash \
|
||||
curl \
|
||||
gawk \
|
||||
gcc \
|
||||
@ -27,7 +26,7 @@ RUN apk -U upgrade && \
|
||||
|
||||
# Install netdata
|
||||
cd /root && \
|
||||
git clone https://github.com/firehol/netdata && \
|
||||
git clone --depth=1 https://github.com/firehol/netdata && \
|
||||
cd netdata && \
|
||||
./netdata-installer.sh --dont-wait --dont-start-it && \
|
||||
sed -i "s/#local:/local:/" /etc/netdata/python.d/elasticsearch.conf && \
|
||||
@ -40,7 +39,7 @@ RUN apk -U upgrade && \
|
||||
cd / && \
|
||||
|
||||
# Clean up
|
||||
apk del alpine-sdk \
|
||||
apk del --purge alpine-sdk \
|
||||
autoconf \
|
||||
automake \
|
||||
gcc \
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: '2.2'
|
||||
version: '2.3'
|
||||
|
||||
services:
|
||||
|
||||
@ -16,5 +16,5 @@ services:
|
||||
volumes:
|
||||
- /proc:/host/proc:ro
|
||||
- /sys:/host/sys:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
command: ["/usr/sbin/netdata","-D","-s","/host","-p","19999"]
|
||||
|
Reference in New Issue
Block a user