[mod] codeserver use latest

This commit is contained in:
Andy Bunce 2023-02-28 16:01:32 +00:00
parent 21a0811332
commit 62fad9ae29
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
# hardcoded for amd64
# Main image
FROM ghcr.io/linuxserver/code-server:4.5.1
FROM ghcr.io/linuxserver/code-server:latest
ARG TARGETARCH
ARG BUILDARCH

View File

@ -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
FROM alpine:latest AS builder
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
# custom options
COPY .basex /srv/basex/
# Main image
FROM ghcr.io/linuxserver/code-server:version-v3.9.1
FROM ghcr.io/linuxserver/code-server:latest
LABEL author="Andy Bunce"
LABEL company="Quodatum Ltd"
LABEL maintainer="andy@quodatum.com"
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
ENV PATH=$PATH:${JAVA_HOME}/bin