create initial fuglu image
Some checks failed
Build OCI Containers / Build Containers (push) Failing after 1m7s
Some checks failed
Build OCI Containers / Build Containers (push) Failing after 1m7s
This commit is contained in:
parent
b0e0f6c695
commit
a5046adee6
@ -36,3 +36,10 @@ jobs:
|
||||
context: postfix
|
||||
push: true
|
||||
tags: git.domainforge.de/public/postfix:latest
|
||||
|
||||
- name: Build and push Fuglu Container
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: fuglu
|
||||
push: true
|
||||
tags: git.domainforge.de/public/fuglu:latest
|
||||
|
||||
19
fuglu/Dockerfile
Normal file
19
fuglu/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y upgrade && \
|
||||
apt-get -y --purge autoremove && \
|
||||
apt-get -y install python3 python3-pip && \
|
||||
apt-get -y clean && \
|
||||
pip3 install --upgrade pip && \
|
||||
python3 -m venv /opt/fuglu && \
|
||||
/opt/fuglu/bin/pip3 install --upgrade pip setuptools && \
|
||||
/opt/fuglu/bin/pip3 install fuglu rarfile rednose "sqlalchemy<2.0.0" python-magic pyspf py3dns mock ssdeep redis geoip2 beautifulsoup4 lxml pysrs pylzma dkimpy authres dmarc pysocks && \
|
||||
mkdir -p /opt/fuglu/etc /var/fuglu /var/log/fuglu && \
|
||||
chown nobody:nobody /var/fuglu /var/log/fuglu && \
|
||||
cp -r /opt/fuglu/lib/python*/dist-packages/etc/fuglu/* /opt/fuglu/etc
|
||||
|
||||
EXPOSE 10025/tcp
|
||||
EXPOSE 10028/tcp
|
||||
|
||||
CMD ["/opt/fuglu/bin/fuglu", "--foreground", "--lint"]
|
||||
Loading…
Reference in New Issue
Block a user