[mod] code-serverx perms

This commit is contained in:
Andy Bunce 2022-05-02 11:41:25 +01:00
parent 6b8d0b94ec
commit 85e8c687f4

View File

@ -8,7 +8,7 @@ FROM ghcr.io/linuxserver/code-server:4.3.0
ARG TARGETARCH ARG TARGETARCH
ARG BUILDARCH 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 author="Andy Bunce"
LABEL company="Quodatum Ltd" LABEL company="Quodatum Ltd"
@ -29,8 +29,8 @@ ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
RUN export JAVA_HOME RUN export JAVA_HOME
# install BaseX to /basex/ # install BaseX to /basex/
RUN curl https://files.basex.org/releases/9.7/BaseX97.zip | jar xv && \ RUN curl https://files.basex.org/releases/9.7.1/BaseX971.zip | jar xv && \
chmod a+x /basex/bin/*; chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ;
ENV PATH=$PATH:/basex/bin ENV PATH=$PATH:/basex/bin
# install docker cli only # install docker cli only