[mod] java
This commit is contained in:
parent
6846c0996f
commit
79d8e55ea7
1 changed files with 3 additions and 12 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Add table
Reference in a new issue