[mod] java
This commit is contained in:
parent
6846c0996f
commit
79d8e55ea7
|
@ -13,22 +13,13 @@ RUN cd /srv && unzip *.zip && rm *.zip
|
||||||
FROM ghcr.io/linuxserver/code-server:4.0.1
|
FROM ghcr.io/linuxserver/code-server:4.0.1
|
||||||
LABEL author="Andy Bunce"
|
LABEL author="Andy Bunce"
|
||||||
LABEL company="Quodatum Ltd"
|
LABEL company="Quodatum Ltd"
|
||||||
LABEL maintainer="andy@quodatum.com"
|
LABEL maintainer="quodatum@gmail.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
|
|
||||||
|
|
||||||
# Install OpenJDK-8
|
# Install OpenJDK-8
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y openjdk-8-jdk && \
|
apt-get install -y openjdk-8-jdk-headless && \
|
||||||
apt-get install -y ant && \
|
|
||||||
apt-get clean;
|
apt-get clean;
|
||||||
|
|
||||||
# Fix certificate issues
|
# Fix certificate issues
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install ca-certificates-java && \
|
apt-get install ca-certificates-java && \
|
||||||
|
|
Loading…
Reference in New Issue