File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,12 @@ ENV GRAMPSHOME=/root
5858ENV GRAMPS_DATABASE_PATH=/root/.gramps/grampsdb
5959
6060# install PostgreSQL addon
61- RUN wget https://github.com/gramps-project/addons/archive/refs/heads/master.zip \
62- && unzip -p master.zip addons-master/gramps$GRAMPS_VERSION/download/PostgreSQL.addon.tgz | \
63- tar -xvz -C /root/gramps/gramps$GRAMPS_VERSION/plugins \
64- && unzip -p master.zip addons-master/gramps$GRAMPS_VERSION/download/SharedPostgreSQL.addon.tgz | \
65- tar -xvz -C /root/gramps/gramps$GRAMPS_VERSION/plugins \
66- && unzip -p master.zip addons-master/gramps$GRAMPS_VERSION/download/FilterRules.addon.tgz | \
67- tar -xvz -C /root/gramps/gramps$GRAMPS_VERSION/plugins \
68- && rm master.zip
61+ RUN wget https://github.com/gramps-project/addons/archive/refs/heads/master.zip && \
62+ for addon in PostgreSQL SharedPostgreSQL FilterRules JSON; do \
63+ unzip -p master.zip addons-master/gramps$GRAMPS_VERSION/download/$addon.addon.tgz | \
64+ tar -xvz -C /root/gramps/gramps$GRAMPS_VERSION/plugins; \
65+ done && \
66+ rm master.zip
6967
7068# install gunicorn
7169RUN python3 -m pip install --break-system-packages --no-cache-dir --extra-index-url https://www.piwheels.org/simple \
You can’t perform that action at this time.
0 commit comments