-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (34 loc) · 1.52 KB
/
Dockerfile
File metadata and controls
41 lines (34 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM debian:trixie-20260421@sha256:35b8ff74ead4880f22090b617372daff0ccae742eb5674455d542bef71ef1999
LABEL org.opencontainers.image.source = "https://github.com/devfaz/firefly-iii-dkb"
RUN apt-get -qy update && \
apt-get -qy install git-core build-essential libtool libgcrypt-dev gnutls-dev pkg-config libxmlsec1-dev libz-dev wget gettext python3-pip curl ca-certificates && \
apt-get clean
RUN echo && \
wget "https://aquamaniac.de/rdm/attachments/download/630/gwenhywfar-5.14.1.tar.gz" -O- | tar -xzvf- -C /usr/src/ && \
wget "https://aquamaniac.de/rdm/attachments/download/646/aqbanking-6.8.4.tar.gz" -O- | tar -xzvf- -C /usr/src/ && \
cd /usr/src/gwenhywfar* && \
make -fMakefile.cvs && \
./configure --prefix=/ --exec-prefix=/usr --with-guis="" && \
make -j $( nproc ) && \
make install && \
cd /usr/src/aqbanking* && \
make -fMakefile.cvs -j $( nproc ) && \
./configure --prefix=/ --exec-prefix=/usr --with-xmlmerge=/usr/bin/xmlmerge && \
make typedefs && \
make types && \
make -j $( nproc ) && \
make install && \
rm -R /usr/src/*
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt --break-system-packages && \
rm /requirements.txt
COPY gencsv.sh csv-convert.py /usr/local/bin/
COPY start-dkb.sh /usr/local/bin
COPY autoimport.sh /usr/local/bin
COPY entrypoint.sh /usr/local/bin
COPY balances.py /usr/local/bin
COPY dkb-csv-export-profile.conf /opt/
RUN useradd --uid 1000 --create-home aqbanking && \
chmod +x /usr/local/bin/ -R
USER 1000
ENTRYPOINT /usr/local/bin/entrypoint.sh