diff --git a/basex/docker-compose.yml b/basex/docker-compose.yml index 60ec1f0..3bf55e9 100644 --- a/basex/docker-compose.yml +++ b/basex/docker-compose.yml @@ -1,5 +1,5 @@ version: '3.2' -# redis for arm7 +# quodatum basex services: basex: diff --git a/code-serverx/Dockerfile b/code-serverx/Dockerfile index 4ba1dc0..ad9c79f 100644 --- a/code-serverx/Dockerfile +++ b/code-serverx/Dockerfile @@ -1,10 +1,12 @@ # A code-server image with added -# openjdk 11 -# BaseX installed +# openjdk@11 +# BaseX installed@9.7.3 # @author Andy Bunce +# Bugs: +# hardcoded for amd64 # Main image -FROM ghcr.io/linuxserver/code-server:4.3.0 +FROM ghcr.io/linuxserver/code-server:4.5.1 ARG TARGETARCH ARG BUILDARCH @@ -29,13 +31,21 @@ ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/ RUN export JAVA_HOME # install BaseX to /basex/ -RUN curl https://files.basex.org/releases/latest/BaseX972-20220508.135439.zip | jar xv && \ +RUN curl https://files.basex.org/releases/9.7.3/BaseX973.zip | jar xv && \ chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ; ENV PATH=$PATH:/basex/bin # install docker cli only -RUN curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.12.tgz | tar zxv -C /tmp/ && \ +RUN curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.17.tgz | tar zxv -C /tmp/ && \ cp /tmp/docker/docker /usr/local/bin && rm -r /tmp/docker; + +# install maven +RUN curl https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz | \ + tar zxv -C /usr/local/bin && \ + cd /usr/local/bin && \ + ln -s apache-maven-3.8.6 maven && \ + ENV PATH=$PATH:/usr/local/bin/maven/bin + #RUN chmod 666 /var/run/docker.sock #RUN /usr/local/bin/code-server --install-extension vscode-basex-0.0.21.vsix