update apt
This commit is contained in:
parent
1880b10743
commit
135e7167df
1 changed files with 3 additions and 2 deletions
|
@ -3,10 +3,11 @@ 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 install -y curl \
|
RUN apt update \
|
||||||
|
apt install -y curl \
|
||||||
curl -s https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
|
curl -s https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
|
||||||
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
|
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
|
||||||
apt update && \
|
apt update \
|
||||||
apt install -y adoptopenjdk-11-openj9
|
apt install -y adoptopenjdk-11-openj9
|
||||||
|
|
||||||
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
|
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
|
||||||
|
|
Reference in a new issue