33 lines
969 B
Docker
33 lines
969 B
Docker
# Cause fuck Ubuntu
|
|
FROM debian:bookworm-slim
|
|
|
|
# Who to contact
|
|
LABEL maintainer="cfultz <caleb@fultz.dev>"
|
|
|
|
# Environment
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
ENV build linux
|
|
|
|
# Update the OS
|
|
RUN apt update && apt upgrade --yes
|
|
|
|
# Helper libraries to compile
|
|
RUN apt install --yes dialog apt-utils wget g++ make cmake \
|
|
libsdl1.2-compat-dev mercurial zlib1g-dev \
|
|
libbz2-dev libjpeg-dev libfluidsynth-dev libgtk2.0-dev timidity nasm \
|
|
libssl-dev tar libglew-dev libgl1-mesa-dev
|
|
|
|
RUN cd /root/ && mkdir -pv /root/zandronum_build && mkdir -pv /root/complete
|
|
|
|
RUN cd /root/zandronum_build && \
|
|
hg clone --insecure https://hg.osdn.net/view/zandronum/zandronum-stable zandronum && \
|
|
mkdir -pv zandronum/buildclient zandronum/buildserver
|
|
|
|
RUN cd /root/zandronum_build \
|
|
wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz \
|
|
tar -xvzf fmodapi44464linux.tar.gz -C zandronum
|
|
|
|
COPY entry.sh /root/entry.sh
|
|
|
|
CMD [ "/root/entry.sh" ]
|
|
ENTRYPOINT [ "/bin/bash" ] |