From 79d8e55ea787f0961639458e0733d43a6fff9cd5 Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Tue, 8 Feb 2022 11:11:29 +0000 Subject: [PATCH] [mod] java --- code-serverx/Dockerfile | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/code-serverx/Dockerfile b/code-serverx/Dockerfile index c1fc6a1..28e78b9 100644 --- a/code-serverx/Dockerfile +++ b/code-serverx/Dockerfile @@ -13,22 +13,13 @@ RUN cd /srv && unzip *.zip && rm *.zip FROM ghcr.io/linuxserver/code-server:4.0.1 LABEL author="Andy Bunce" LABEL company="Quodatum Ltd" -LABEL maintainer="andy@quodatum.com" - -# Install "software-properties-common" (for the "add-apt-repository") -RUN apt-get update && apt-get install -y \ - software-properties-common - -# Add the "JAVA" ppa -RUN add-apt-repository -y \ - ppa:webupd8team/java +LABEL maintainer="quodatum@gmail.com" # Install OpenJDK-8 RUN apt-get update && \ - apt-get install -y openjdk-8-jdk && \ - apt-get install -y ant && \ + apt-get install -y openjdk-8-jdk-headless && \ apt-get clean; - + # Fix certificate issues RUN apt-get update && \ apt-get install ca-certificates-java && \