This mirrors the corresponding change in the main OpenRS2 repository. It also allows us to switch away from the AdoptOpenJDK builds and use OpenJDK from Debian instead. This simplifies the process for building the image.master
parent
40acfda212
commit
8560b09444
@ -1,12 +1,12 @@ |
|||||||
FROM debian:10-slim |
FROM debian:10-slim |
||||||
ENV LANG C.UTF-8 |
ENV LANG C.UTF-8 |
||||||
COPY adoptopenjdk.gpg /etc/apt/trusted.gpg.d/ |
RUN mkdir -p /usr/share/man/man1 && \ |
||||||
RUN apt-get update && \ |
|
||||||
apt-get install -y apt-transport-https ca-certificates && \ |
|
||||||
echo 'deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster main' > /etc/apt/sources.list.d/adoptopenjdk.list && \ |
|
||||||
apt-get update && \ |
apt-get update && \ |
||||||
mkdir -p /usr/share/man/man1 && \ |
apt-get install -y --no-install-recommends \ |
||||||
apt-get install -y --no-install-recommends adoptopenjdk-8-hotspot && \ |
gcc \ |
||||||
apt-get install -y --no-install-recommends gcc libc6-dev libgl1-mesa-dev libxt-dev maven && \ |
libc6-dev \ |
||||||
apt-get autoremove --purge -y && \ |
libgl1-mesa-dev \ |
||||||
|
libxt-dev \ |
||||||
|
maven \ |
||||||
|
openjdk-11-jdk && \ |
||||||
rm -rf /var/lib/apt/lists/* |
rm -rf /var/lib/apt/lists/* |
||||||
|
Binary file not shown.
Loading…
Reference in new issue