|
|
@ -24,15 +24,15 @@ RUN apt update -y && apt install -y software-properties-common libsdl2-2.0-0 zip |
|
|
|
# install steamcmd |
|
|
|
RUN apt-add-repository contrib && \ |
|
|
|
apt-add-repository non-free && \ |
|
|
|
dpkg --add-architecture i386 && \ |
|
|
|
apt update -y && \ |
|
|
|
# echo steam steam/question select "I AGREE" | debconf-set-selections && \ |
|
|
|
# echo steam steam/license note '' | debconf-set-selections && \ |
|
|
|
echo steam steam/question select "I AGREE" | debconf-set-selections && \ |
|
|
|
echo steam steam/license note '' | debconf-set-selections && \ |
|
|
|
apt install -y steamcmd |
|
|
|
|
|
|
|
# create valheim server user with file owner UID |
|
|
|
RUN addgroup --gid $FILESUID vhadmin && \ |
|
|
|
adduser vhadmin --ingroup vhadmin --uid $FILESUID --disabled-password --gecos "Valheim Server Admin" --shell /usr/sbin/nologin && \ |
|
|
|
rm /home/mcadmin/.bashrc |
|
|
|
adduser vhadmin --ingroup vhadmin --uid $FILESUID --disabled-password --gecos "Valheim Server Admin" --shell /usr/sbin/nologin |
|
|
|
|
|
|
|
# Copy custom scripts |
|
|
|
COPY assets/bin/ /usr/local/bin/ |
|
|
|