[mod] codeserver use latest
This commit is contained in:
parent
21a0811332
commit
62fad9ae29
@ -6,7 +6,7 @@
|
|||||||
# hardcoded for amd64
|
# hardcoded for amd64
|
||||||
|
|
||||||
# Main image
|
# Main image
|
||||||
FROM ghcr.io/linuxserver/code-server:4.5.1
|
FROM ghcr.io/linuxserver/code-server:latest
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG BUILDARCH
|
ARG BUILDARCH
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
#
|
#
|
||||||
# add openjdk 11 and basex on code-server docker image
|
# add openjdk 17 and basex on code-server docker image
|
||||||
# @author Andy Bunce
|
# @author Andy Bunce
|
||||||
FROM alpine:latest AS builder
|
FROM alpine:latest AS builder
|
||||||
RUN apk --no-cache add zip
|
RUN apk --no-cache add zip
|
||||||
ADD https://files.basex.org/releases/9.5/BaseX95.zip /srv
|
ADD https://files.basex.org/releases/10.4/BaseX104.zip /srv
|
||||||
RUN cd /srv && unzip *.zip && rm *.zip
|
RUN cd /srv && unzip *.zip && rm *.zip
|
||||||
|
|
||||||
# custom options
|
# custom options
|
||||||
COPY .basex /srv/basex/
|
COPY .basex /srv/basex/
|
||||||
|
|
||||||
# Main image
|
# Main image
|
||||||
FROM ghcr.io/linuxserver/code-server:version-v3.9.1
|
FROM ghcr.io/linuxserver/code-server:latest
|
||||||
LABEL author="Andy Bunce"
|
LABEL author="Andy Bunce"
|
||||||
LABEL company="Quodatum Ltd"
|
LABEL company="Quodatum Ltd"
|
||||||
LABEL maintainer="andy@quodatum.com"
|
LABEL maintainer="andy@quodatum.com"
|
||||||
|
|
||||||
|
|
||||||
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
||||||
RUN apk add --no-cache bash openjdk11-jre-headless
|
RUN apk add --no-cache bash openjdk17-jre-headless
|
||||||
# Has to be set explictly to find binaries
|
# Has to be set explictly to find binaries
|
||||||
ENV PATH=$PATH:${JAVA_HOME}/bin
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user