[add] saxon
This commit is contained in:
parent
b92edfdedc
commit
f2f1465785
6 changed files with 41 additions and 24 deletions
|
|
@ -1,19 +1,21 @@
|
|||
#
|
||||
# add openjdk 11 and basex on code-server docker image
|
||||
# A code-server image with added
|
||||
# openjdk 11
|
||||
# BaseX installed
|
||||
# @author Andy Bunce
|
||||
|
||||
# custom options
|
||||
#COPY .basex /srv/basex/
|
||||
|
||||
# Main image
|
||||
FROM ghcr.io/linuxserver/code-server:4.0.1
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
RUN echo "I'm building for $TARGETPLATFORM"
|
||||
|
||||
LABEL author="Andy Bunce"
|
||||
LABEL company="Quodatum Ltd"
|
||||
LABEL maintainer="quodatum@gmail.com"
|
||||
|
||||
# Install OpenJDK-11
|
||||
RUN apt-get update && \
|
||||
apt-get install -y openjdk-11-jdk-headless zip;
|
||||
apt-get install -y openjdk-11-jdk-headless;
|
||||
|
||||
# Fix certificate issues
|
||||
RUN apt-get update && \
|
||||
|
|
@ -22,7 +24,12 @@ RUN apt-get update && \
|
|||
update-ca-certificates -f;
|
||||
|
||||
# Setup JAVA_HOME -- useful for docker commandline
|
||||
#ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
|
||||
#RUN export JAVA_HOME
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
|
||||
RUN export JAVA_HOME
|
||||
|
||||
RUN curl https://files.basex.org/releases/9.6.4/BaseX964.zip | jar xv
|
||||
# install BaseX to /basex
|
||||
RUN curl https://files.basex.org/releases/9.6.4/BaseX964.zip | jar xv && \
|
||||
chmod a+x /basex/bin/*;
|
||||
|
||||
# add saxon
|
||||
COPY custom/* /basex/lib/custom/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue