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
|
FROM adoptopenjdk:16-openj9
|
||||||
|
|
||||||
RUN groupadd -g 322 lavalink && \
|
|
||||||
useradd -r -u 322 -g lavalink lavalink
|
|
||||||
|
|
||||||
USER lavalink
|
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
RUN apt update & \
|
RUN apt update & \
|
||||||
apt install curl & \
|
apt install curl & \
|
||||||
|
@ -12,4 +7,9 @@ RUN apt update & \
|
||||||
apt remove curl
|
apt remove curl
|
||||||
COPY application.yml .
|
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"]
|
ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.3", "-Xmx3G", "-jar", "Lavalink.jar"]
|
||||||
|
|
Reference in a new issue