mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-07 15:48:51 +00:00
tweaking
This commit is contained in:
parent
48b8915689
commit
eb55ad5870
2 changed files with 14 additions and 15 deletions
|
@ -1,20 +1,18 @@
|
|||
FROM alpine
|
||||
|
||||
# Install packages
|
||||
RUN apk -U upgrade && \
|
||||
apk add autoconf \
|
||||
RUN apk -U --no-cache add \
|
||||
autoconf \
|
||||
automake \
|
||||
bash \
|
||||
build-base \
|
||||
git \
|
||||
libtool \
|
||||
procps \
|
||||
py-pip \
|
||||
python \
|
||||
python-dev && \
|
||||
|
||||
# Install libemu
|
||||
git clone https://github.com/buffer/libemu /root/libemu/ && \
|
||||
git clone --depth=1 https://github.com/buffer/libemu /root/libemu/ && \
|
||||
cd /root/libemu/ && \
|
||||
autoreconf -vi && \
|
||||
./configure && \
|
||||
|
@ -22,18 +20,19 @@ RUN apk -U upgrade && \
|
|||
make install && \
|
||||
|
||||
# Install libemu python wrapper
|
||||
pip install pylibemu && \
|
||||
pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir pylibemu && \
|
||||
|
||||
# Install mailoney from git
|
||||
git clone https://github.com/awhitehatter/mailoney /opt/mailoney && \
|
||||
git clone --depth=1 https://github.com/awhitehatter/mailoney /opt/mailoney && \
|
||||
|
||||
# Setup user, groups and configs
|
||||
addgroup -g 2000 mailoney && \
|
||||
adduser -S -H -s /bin/bash -u 2000 -D -g 2000 mailoney && \
|
||||
adduser -S -H -s /bin/ash -u 2000 -D -g 2000 mailoney && \
|
||||
chown -R mailoney:mailoney /opt/mailoney && \
|
||||
|
||||
# Clean up
|
||||
apk del autoconf \
|
||||
apk del --purge autoconf \
|
||||
automake \
|
||||
build-base \
|
||||
git \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: '2.2'
|
||||
version: '2.3'
|
||||
|
||||
networks:
|
||||
mailoney_local:
|
||||
|
|
Loading…
Reference in a new issue