Skip to content

Commit 503fbeb

Browse files
author
Bert Lorenz
authored
switch to installation of gnucash from source
1 parent 82d4ee8 commit 503fbeb

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

Dockerfile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,24 @@ RUN chmod 0755 /startup.sh
88
#Install packages
99
RUN apt-get update -y && \
1010
apt-get install -y git x11vnc Xvfb openbox net-tools python-numpy menu && \
11-
apt-get install -y gnucash && \
1211
git clone https://github.com/kanaka/noVNC.git /root/noVNC/ && \
1312
git clone https://github.com/kanaka/websockify /root/noVNC/utils/websockify && \
1413
apt-get remove -y git && \
15-
apt-get autoclean -y && \
1614
apt-get autoremove -y && \
17-
rm -rf /var/lib/apt/lists/*
15+
apt-get autoclean -y
16+
17+
#Install GnuCash from Source
18+
RUN apt-get update -y && \
19+
apt-get build-dep -y gnucash && \
20+
apt-get purge -y guile-2.0 && \
21+
apt-get install -y wget slib libgnomeui-common libgnomeui-dev guile-1.8 guile-1.8-dev checkinstall && \
22+
wget http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-2.6.17.tar.bz2 && \
23+
tar xvjf gnucash-2.6.17.tar.bz2 && \
24+
cd gnucash-2.6.17 && ./configure --prefix=/opt/gnucash --enable-compile-warnings --with-html-engine=webkit && \
25+
make && checkinstall -y \
26+
apt-get remove -y wget slib libgnomeui-common libgnomeui-dev guile-1.8 guile-1.8-dev checkinstall && \
27+
apt-get autoremove -y && \
28+
apt-get autoclean -y
1829

1930
CMD /startup.sh
2031
EXPOSE 6080

0 commit comments

Comments
 (0)