This commit is contained in:
2021-11-29 15:51:56 +01:00
parent 3c70fe7a1e
commit e509db16a6
5 changed files with 30 additions and 16 deletions
+4 -2
View File
@@ -1,4 +1,5 @@
FROM basex/basexhttp:9.4.6
# FROM basex/basexhttp:9.4.6
FROM basex/basexhttp:latest
# COPY ./bashrc /srv/.bashrc
# COPY ./inputrc /srv/.inputrc
@@ -8,7 +9,8 @@ FROM basex/basexhttp:9.4.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 /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"]