mirror of
https://codeberg.org/spire/docker-tf2-server.git
synced 2026-06-03 09:54:20 +02:00
dockerfile cleanup
This commit is contained in:
parent
e43a5fd98b
commit
17fda89141
1 changed files with 4 additions and 5 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
from ubuntu:24.04
|
FROM ubuntu:24.04
|
||||||
maintainer Robin Appelman <robin@icewind.nl>
|
|
||||||
|
|
||||||
RUN echo steam steam/question select "I AGREE" | debconf-set-selections \
|
RUN echo steam steam/question select "I AGREE" | debconf-set-selections \
|
||||||
&& echo steam steam/license note '' | debconf-set-selections \
|
&& echo steam steam/license note '' | debconf-set-selections \
|
||||||
|
|
@ -21,9 +20,9 @@ RUN echo steam steam/question select "I AGREE" | debconf-set-selections \
|
||||||
|
|
||||||
USER tf2
|
USER tf2
|
||||||
|
|
||||||
ENV USER tf2
|
ENV USER=tf2
|
||||||
ENV HOME /home/$USER
|
ENV HOME=/home/$USER
|
||||||
ENV SERVER $HOME/hlserver
|
ENV SERVER=$HOME/hlserver
|
||||||
|
|
||||||
ADD --chown=tf2:tf2 tf2_ds.txt update.sh clean.sh tf.sh $SERVER/
|
ADD --chown=tf2:tf2 tf2_ds.txt update.sh clean.sh tf.sh $SERVER/
|
||||||
RUN mkdir -p $SERVER/tf2 \
|
RUN mkdir -p $SERVER/tf2 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue