[mod] code-serverx

This commit is contained in:
Andy Bunce 2023-08-07 15:37:48 +01:00
parent fb2f688c3c
commit ad133102e3
2 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
# A code-server image with added
# openjdk@17
# BaseX installed@10.6
# docker build --tag=vscode4.13-basex10.6 .
# docker build --tag=vscode4.16-basex10.7 .
# @author Andy Bunce
# Bugs:
# hardcoded for amd64
# Main image
FROM ghcr.io/linuxserver/code-server:4.13.0
FROM ghcr.io/linuxserver/code-server:4.16.1
ARG TARGETARCH
ARG BUILDARCH
@ -34,7 +34,7 @@ ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64/
RUN export JAVA_HOME
# install BaseX to /basex/
RUN curl https://files.basex.org/releases/10.6/BaseX106.zip | jar xv && \
RUN curl https://files.basex.org/releases/10.7/BaseX107.zip | jar xv && \
chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ;
ENV PATH=$PATH:/basex/bin

View File

@ -2,15 +2,15 @@
## docker build
```
docker build --tag=vs451-basex973 .
docker build --tag=vscode4.16-basex10.7 .
```
## compose
```
docker-compose up
```
## Includes
* openjdk-11-jdk-headless
* BaseX 9.7.3
* openjdk-17-jdk-headless
* BaseX 10.7
* node+npm v16
* maven 3.8.6