From 0a65ab82de1066b98ff4efca5c58b4dadd19cce1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 6 Aug 2021 15:34:51 +0200 Subject: [PATCH] fix java --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f3df3f2..9aca800 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,12 @@ FROM python:3.8.6-slim COPY requirements.txt . RUN pip install -r requirements.txt -RUN apt update -RUN apt install openjdk-11-jdk -y -RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar +RUN mkdir -p /usr/share/man/man1 && \ # fix to install java + apt update && \ + apt install curl openjdk-11-jdk -yf && \ + curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \ + apt remove curl && \ + apt autoremove -y COPY README.md . COPY src .