[mod] code-serverx
This commit is contained in:
parent
15f1a4efbc
commit
d7e939da1d
@ -1,12 +1,12 @@
|
||||
# A code-server image with added
|
||||
# openjdk@17
|
||||
# BaseX installed@10.4
|
||||
# BaseX installed@10.6
|
||||
# @author Andy Bunce
|
||||
# Bugs:
|
||||
# hardcoded for amd64
|
||||
|
||||
# Main image
|
||||
FROM ghcr.io/linuxserver/code-server:4.10.0
|
||||
FROM ghcr.io/linuxserver/code-server:4.13.0
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG BUILDARCH
|
||||
@ -33,13 +33,19 @@ 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.4/BaseX104.zip | jar xv && \
|
||||
RUN curl https://files.basex.org/releases/10.6/BaseX106.zip | jar xv && \
|
||||
chown -R $PUID:$PGID /basex && chmod a+x /basex/bin/* ;
|
||||
ENV PATH=$PATH:/basex/bin
|
||||
|
||||
# install docker cli only
|
||||
RUN curl https://download.docker.com/linux/static/stable/x86_64/docker-23.0.1.tgz | tar zxv -C /tmp/ && \
|
||||
cp /tmp/docker/docker /usr/local/bin && rm -r /tmp/docker;
|
||||
# https://askubuntu.com/a/1388299
|
||||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] \
|
||||
https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
RUN apt install docker-ce-cli
|
||||
|
||||
#RUN curl https://download.docker.com/linux/static/stable/x86_64/docker-23.0.1.tgz | tar zxv -C /tmp/ && \
|
||||
# cp /tmp/docker/docker /usr/local/bin && rm -r /tmp/docker;
|
||||
|
||||
# install maven
|
||||
RUN curl https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz | \
|
||||
|
Loading…
Reference in New Issue
Block a user