diff --git a/code-serverx/Dockerfile b/code-serverx/Dockerfile index d820c98..cfa2f88 100644 --- a/code-serverx/Dockerfile +++ b/code-serverx/Dockerfile @@ -8,7 +8,7 @@ FROM ghcr.io/linuxserver/code-server:4.3.0 ARG TARGETARCH ARG BUILDARCH -RUN echo "I'm building vscode-basex for ${BUILDARCH} on ${TARGETARCH}" +RUN echo "I'm building vscode-basex for ${BUILDARCH} on ${TARGETARCH} User: ${PUID}" LABEL author="Andy Bunce" LABEL company="Quodatum Ltd" @@ -29,8 +29,8 @@ 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/9.7/BaseX97.zip | jar xv && \ - chmod a+x /basex/bin/*; +RUN curl https://files.basex.org/releases/9.7.1/BaseX971.zip | jar xv && \ + chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ; ENV PATH=$PATH:/basex/bin # install docker cli only