using openjdk
This commit is contained in:
parent
de5957ea3e
commit
1f6e832155
1 changed files with 3 additions and 9 deletions
12
Dockerfile
12
Dockerfile
|
@ -3,15 +3,9 @@ FROM python:3.8.6-slim
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt update && \
|
||||||
apt-get install -y gnupg2 curl && \
|
apt install -y openjdk-11-jdk && \
|
||||||
curl -so - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
|
curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
|
||||||
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
|
|
||||||
|
|
||||||
COPY README.md .
|
COPY README.md .
|
||||||
COPY src .
|
COPY src .
|
||||||
|
|
Reference in a new issue