We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da1c77b + 735607b commit 69fee57Copy full SHA for 69fee57
docker/nwnx4/Dockerfile
@@ -1,8 +1,5 @@
1
FROM debian:bullseye
2
3
-ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
4
-ARG NWNX4_USER_HOME="/home/nxnx4"
5
-
6
# Install requirements
7
RUN dpkg --add-architecture i386 \
8
&& apt-get update \
@@ -24,6 +21,8 @@ RUN dpkg --add-architecture i386 \
24
21
&& apt-get autoremove \
25
22
&& rm -rf /var/lib/apt/lists/*
26
23
+ARG NWNX4_USER_HOME="/home/nwnx4"
+
27
# Setup nwnx4 user
28
RUN useradd -u 1000 -d $NWNX4_USER_HOME --create-home -ms /bin/bash nwnx4
29
@@ -71,6 +70,8 @@ EXPOSE 5121/udp
71
70
# Setup entrypoint and command
72
USER root
73
+ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
74
75
# Setup release
76
RUN curl -LJO $RELEASE_URL \
77
&& unzip nwnx4.zip -d /opt \
0 commit comments