* Cleanup: Use spaces instead of tabulation * Cleanup: Reduce layers * Cleanup: Homogeneise wget syntax * Cleanup: Use binary GPG key format
11 lines
494 B
Docker
11 lines
494 B
Docker
ARG JITSI_REPO=jitsi
|
|
ARG BASE_TAG=latest
|
|
FROM ${JITSI_REPO}/base:${BASE_TAG}
|
|
|
|
RUN mkdir -p /usr/share/man/man1 && \
|
|
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | gpg --dearmour > /etc/apt/trusted.gpg.d/openjdk.gpg && \
|
|
echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ buster main" > /etc/apt/sources.list.d/openjdk.list && \
|
|
apt-dpkg-wrap apt-get update && \
|
|
apt-dpkg-wrap apt-get install -y adoptopenjdk-8-hotspot-jre && \
|
|
apt-cleanup
|