no need to install curl

This commit is contained in:
Mylloon 2021-08-08 02:40:53 +02:00
parent c1770b88bb
commit 80b52dbae8

View file

@ -1,10 +1,8 @@
FROM adoptopenjdk:16-openj9 FROM adoptopenjdk:16-openj9
WORKDIR /opt WORKDIR /opt
RUN apt update & \
apt install curl & \ RUN curl -Lso Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
curl -Lso Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
apt remove curl
COPY application.yml . COPY application.yml .
RUN groupadd -g 322 lavalink && \ RUN groupadd -g 322 lavalink && \