finetuning, tweaking

This commit is contained in:
Marco Ochse 2018-05-16 16:37:10 +00:00
parent 5447978191
commit e72ef5c094
2 changed files with 7 additions and 9 deletions

View file

@ -4,8 +4,8 @@ FROM alpine
ADD dist/ /root/dist/ ADD dist/ /root/dist/
# Install packages # Install packages
RUN apk -U upgrade && \ RUN apk -U --no-cache add \
apk add build-base \ build-base \
git \ git \
libssl1.0 \ libssl1.0 \
openssl-dev \ openssl-dev \
@ -18,13 +18,14 @@ RUN apk -U upgrade && \
py-pysqlite \ py-pysqlite \
py-requests \ py-requests \
py-setuptools && \ py-setuptools && \
pip install pyOpenSSL==16.2.0 && \ pip install --no-cache-dir -U pip && \
pip install --no-cache-dir pyOpenSSL && \
# Setup ewsposter # Setup ewsposter
git clone https://github.com/rep/hpfeeds /opt/hpfeeds && \ git clone --depth=1 https://github.com/rep/hpfeeds /opt/hpfeeds && \
cd /opt/hpfeeds && \ cd /opt/hpfeeds && \
python setup.py install && \ python setup.py install && \
git clone https://github.com/vorband/ewsposter /opt/ewsposter && \ git clone --depth=1 https://github.com/vorband/ewsposter /opt/ewsposter && \
mkdir -p /opt/ewsposter/spool /opt/ewsposter/log && \ mkdir -p /opt/ewsposter/spool /opt/ewsposter/log && \
# Setup user and groups # Setup user and groups

View file

@ -1,6 +1,4 @@
# T-Pot (Standard) version: '2.3'
# For docker-compose ...
version: '2.2'
networks: networks:
ewsposter_local: ewsposter_local:
@ -21,4 +19,3 @@ services:
volumes: volumes:
- /data:/data - /data:/data
- /data/ews/conf/ews.ip:/opt/ewsposter/ews.ip - /data/ews/conf/ews.ip:/opt/ewsposter/ews.ip