[add] codeserverx
This commit is contained in:
parent
816a2338ef
commit
caabcd86ae
3 changed files with 21 additions and 7 deletions
11
.vscode/extensions.json
vendored
Normal file
11
.vscode/extensions.json
vendored
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
|
@ -4,10 +4,11 @@
|
||||||
# @author Andy Bunce
|
# @author Andy Bunce
|
||||||
|
|
||||||
# Main image
|
# Main image
|
||||||
FROM ghcr.io/linuxserver/code-server:4.0.1
|
FROM ghcr.io/linuxserver/code-server:4.0.2
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETARCH
|
||||||
RUN echo "I'm building for $TARGETPLATFORM"
|
ARG BUILDARCH
|
||||||
|
RUN echo "I'm building for ${BUILDARCH} on ${TARGETARCH}
|
||||||
|
|
||||||
LABEL author="Andy Bunce"
|
LABEL author="Andy Bunce"
|
||||||
LABEL company="Quodatum Ltd"
|
LABEL company="Quodatum Ltd"
|
||||||
|
@ -27,12 +28,13 @@ RUN apt-get update && \
|
||||||
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
|
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.6.4/BaseX964.zip | jar xv && \
|
RUN curl https://files.basex.org/releases/9.6.4/BaseX964.zip | jar xv && \
|
||||||
chmod a+x /basex/bin/*;
|
chmod a+x /basex/bin/*;
|
||||||
|
|
||||||
# install docker cli only
|
# 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
|
# ports and volumes
|
||||||
EXPOSE 8443
|
EXPOSE 8443
|
|
@ -2,5 +2,6 @@
|
||||||
|
|
||||||
## Includes
|
## Includes
|
||||||
* openjdk-11-jdk-headless
|
* openjdk-11-jdk-headless
|
||||||
* BaseX
|
* BaseX
|
||||||
* saxon-he-11.1.jar from https://www.saxonica.com
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue