bug fixed: limited basex version to 9.4.6

This commit is contained in:
2021-11-23 20:33:30 +01:00
parent c461d5b1e4
commit 8a0ebb3214
8 changed files with 109 additions and 30 deletions
+4 -3
View File
@@ -1,7 +1,7 @@
FROM basex/basexhttp:latest
FROM basex/basexhttp:9.4.6
COPY ./bashrc /srv/.bashrc
COPY ./inputrc /srv/.inputrc
# COPY ./bashrc /srv/.bashrc
# COPY ./inputrc /srv/.inputrc
# RUN basex "db:create('gdp','/srv/basex/src/gdp.tei.xml', (),map {'ftindex': true(),'stemming': true(),'casesens': true(),'diacritics': true(),'language': 'fr','updindex': true(),'autooptimize': true(),'maxlen': 96,'maxcats': 100,'splitsize': 0,'chop': false(),'textindex': true(),'attrindex': true(),'tokenindex': true(), 'xinclude': true()})"
@@ -9,5 +9,6 @@ COPY ./gdp-entrypoint.sh /usr/local/bin
USER root
RUN chmod +x /usr/local/bin/gdp-entrypoint.sh
# RUN ln -s /usr/local/bin/gdp-entrypoint.sh /srv/ # backwards compat
# RUN chown -R basex:basex /srv/basex
USER basex
CMD ["/bin/sh","/usr/local/bin/gdp-entrypoint.sh"]