mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 09:01:54 +00:00
update docker file
This commit is contained in:
parent
3b3f0eb49b
commit
cbca7849d8
1 changed files with 8 additions and 20 deletions
28
Dockerfile
28
Dockerfile
|
@ -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
|
ENV ioquake_data linuxq3apoint-1.32b-3.x86.run
|
||||||
|
|
||||||
RUN echo "deb http://httpredir.debian.org/debian jessie contrib" >> /etc/apt/sources.list && \
|
RUN apt-get update && \
|
||||||
apt-get update && \
|
apt-get install -y quake3-server wget curl && \
|
||||||
apt-get install -y quake3-server \
|
apt-get clean && \
|
||||||
wget \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/locale/* /var/cache/debconf/*-old /usr/share/doc/*
|
||||||
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/*
|
|
||||||
|
|
||||||
WORKDIR /usr/share/games/quake3
|
WORKDIR /usr/share/games/quake3
|
||||||
|
|
||||||
RUN wget "http://youfailit.net/pub/idgames/idstuff/quake3/linux/${ioquake_data}" && \
|
RUN wget "http://youfailit.net/pub/idgames/idstuff/quake3/linux/${ioquake_data}" && \
|
||||||
chmod +x ${ioquake_data} && \
|
chmod +x ${ioquake_data} && \
|
||||||
./${ioquake_data} --tar xvf && \
|
./${ioquake_data} --tar xvf && \
|
||||||
rm -rf ./${ioquake_data}
|
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
|
RUN curl -L https://github.com/nrempel/q3-server/raw/master/baseq3/pak0.pk3 -o /usr/share/games/quake3/baseq3/pak0.pk3
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue