[add] codeserverx

This commit is contained in:
Andy Bunce 2022-03-02 21:20:52 +00:00
parent 816a2338ef
commit caabcd86ae
3 changed files with 21 additions and 7 deletions

11
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"recommendations": [
"quodatum.ext1",
"quodatum.vscode-basex",
"ms-azuretools.vscode-docker",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"kelvin.vscode-sshfs",
"alefragnani.project-manager"
]
}

View File

@ -4,10 +4,11 @@
# @author Andy Bunce
# Main image
FROM ghcr.io/linuxserver/code-server:4.0.1
FROM ghcr.io/linuxserver/code-server:4.0.2
ARG TARGETPLATFORM
RUN echo "I'm building for $TARGETPLATFORM"
ARG TARGETARCH
ARG BUILDARCH
RUN echo "I'm building for ${BUILDARCH} on ${TARGETARCH}
LABEL author="Andy Bunce"
LABEL company="Quodatum Ltd"
@ -27,12 +28,13 @@ RUN apt-get update && \
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
RUN export JAVA_HOME
# install BaseX to /basex
# install BaseX to /basex/
RUN curl https://files.basex.org/releases/9.6.4/BaseX964.zip | jar xv && \
chmod a+x /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.12.tgz | tar zxv -C /tmp/ && \\
cp /tmp/docker/docker /usr/local/bin && rm -r /tmp/docker;
# ports and volumes
EXPOSE 8443

View File

@ -2,5 +2,6 @@
## Includes
* openjdk-11-jdk-headless
* BaseX
* saxon-he-11.1.jar from https://www.saxonica.com
* BaseX