Root for curl
This commit is contained in:
parent
b37e819d46
commit
23b498569f
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,10 +1,5 @@
|
|||
FROM adoptopenjdk:16-openj9
|
||||
|
||||
RUN groupadd -g 322 lavalink && \
|
||||
useradd -r -u 322 -g lavalink lavalink
|
||||
|
||||
USER lavalink
|
||||
|
||||
WORKDIR /opt
|
||||
RUN apt update & \
|
||||
apt install curl & \
|
||||
|
@ -12,4 +7,9 @@ RUN apt update & \
|
|||
apt remove curl
|
||||
COPY application.yml .
|
||||
|
||||
RUN groupadd -g 322 lavalink && \
|
||||
useradd -r -u 322 -g lavalink lavalink
|
||||
|
||||
USER lavalink
|
||||
|
||||
ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.3", "-Xmx3G", "-jar", "Lavalink.jar"]
|
||||
|
|
Reference in a new issue