Commit 735607b 1 parent ccf9e4a commit 735607b Copy full SHA for 735607b
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM debian:bullseye
2
2
3
- ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
4
- ARG NWNX4_USER_HOME="/home/nwnx4"
5
-
6
3
# Install requirements
7
4
RUN dpkg --add-architecture i386 \
8
5
&& 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
24
+ ARG NWNX4_USER_HOME="/home/nwnx4"
25
+
27
26
# Setup nwnx4 user
28
27
RUN useradd -u 1000 -d $NWNX4_USER_HOME --create-home -ms /bin/bash nwnx4
29
28
@@ -71,6 +70,8 @@ EXPOSE 5121/udp
71
70
# Setup entrypoint and command
72
71
USER root
73
72
73
+ ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
74
+
74
75
# Setup release
75
76
RUN curl -LJO $RELEASE_URL \
76
77
&& unzip nwnx4.zip -d /opt \
You can’t perform that action at this time.
0 commit comments