update docker file

This commit is contained in:
Mihhail 2024-09-06 16:23:38 +03:00
parent 3b3f0eb49b
commit cbca7849d8

View file

@ -1,30 +1,18 @@
FROM debian:jessie
FROM debian:buster
## The Data from the official point release.
ENV ioquake_data linuxq3apoint-1.32b-3.x86.run
RUN echo "deb http://httpredir.debian.org/debian jessie contrib" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y quake3-server \
wget \
curl && \
apt-get clean
RUN rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/usr/share/locale/* \
/var/cache/debconf/*-old \
/var/lib/apt/lists/* \
/usr/share/doc/*
RUN apt-get update && \
apt-get install -y quake3-server wget curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/locale/* /var/cache/debconf/*-old /usr/share/doc/*
WORKDIR /usr/share/games/quake3
RUN wget "http://youfailit.net/pub/idgames/idstuff/quake3/linux/${ioquake_data}" && \
chmod +x ${ioquake_data} && \
./${ioquake_data} --tar xvf && \
rm -rf ./${ioquake_data}
chmod +x ${ioquake_data} && \
./${ioquake_data} --tar xvf && \
rm -rf ./${ioquake_data}
RUN curl -L https://github.com/nrempel/q3-server/raw/master/baseq3/pak0.pk3 -o /usr/share/games/quake3/baseq3/pak0.pk3