[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
|
||||
|
||||
# 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
|
|
@ -3,4 +3,5 @@
|
|||
## Includes
|
||||
* openjdk-11-jdk-headless
|
||||
* BaseX
|
||||
* saxon-he-11.1.jar from https://www.saxonica.com
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue