-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
41 lines (34 loc) · 1.52 KB
/
Dockerfile
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:bookworm@sha256:b877a1a3fdf02469440f1768cf69c9771338a875b7add5e80c45b756c92ac20a
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://www.aquamaniac.de/rdm/attachments/download/415/gwenhywfar-5.9.0.tar.gz" -O- | tar -xzvf- -C /usr/src/ && \
wget "https://www.aquamaniac.de/rdm/attachments/download/499/aqbanking-6.5.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