Skip to content

Commit 69fee57

Browse files
Merge pull request nwn2dev#77 from nwn2dev/feature/docker-actions
Feature/docker actions
2 parents da1c77b + 735607b commit 69fee57

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/nwnx4/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
FROM debian:bullseye
22

3-
ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
4-
ARG NWNX4_USER_HOME="/home/nxnx4"
5-
63
# Install requirements
74
RUN dpkg --add-architecture i386 \
85
&& apt-get update \
@@ -24,6 +21,8 @@ RUN dpkg --add-architecture i386 \
2421
&& apt-get autoremove \
2522
&& rm -rf /var/lib/apt/lists/*
2623

24+
ARG NWNX4_USER_HOME="/home/nwnx4"
25+
2726
# Setup nwnx4 user
2827
RUN useradd -u 1000 -d $NWNX4_USER_HOME --create-home -ms /bin/bash nwnx4
2928

@@ -71,6 +70,8 @@ EXPOSE 5121/udp
7170
# Setup entrypoint and command
7271
USER root
7372

73+
ARG RELEASE_URL="https://github.com/nwn2dev/nwnx4/releases/latest/download/nwnx4.zip"
74+
7475
# Setup release
7576
RUN curl -LJO $RELEASE_URL \
7677
&& unzip nwnx4.zip -d /opt \

0 commit comments

Comments
 (0)