From 1f6e832155233d560d7408ddba5db0ec90c1f4c5 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 6 Aug 2021 14:59:50 +0200 Subject: [PATCH] using openjdk --- Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e3c2b3..9dd51f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,9 @@ FROM python:3.8.6-slim COPY requirements.txt . RUN pip install -r requirements.txt -RUN apt-get update && \ - apt-get install -y gnupg2 curl && \ - curl -so - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \ - add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \ - apt update && \ - apt install -y adoptopenjdk-11-openj9 - -RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \ - apt remove -y curl gnupg2 +RUN apt update && \ + apt install -y openjdk-11-jdk && \ + curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar COPY README.md . COPY src .