ballistica/Dockerfile
2024-05-17 06:44:24 +05:30

44 lines
790 B
Docker

FROM ubuntu:24.04
ENV LANG en_US.utf8
ENV LANGUAGE=en_US
COPY ./ ./ballistica
WORKDIR /ballistica
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -y && \
apt-get install -y \
python3.12-dev \
python3.12-venv \
python3-pip \
libsdl2-dev \
libvorbisfile3 \
freeglut3-dev \
libopenal-dev \
make \
curl \
rsync \
clang-format \
cmake \
libvorbis-dev
ARG BOMBSQUAD_VERSION=N/A
LABEL bombsquad_version=${BOMBSQUAD_VERSION}
CMD [ "./do_stuff" ]
# ENTRYPOINT ["./do_stuff"]
# CMD [ "make" ]
# this does not port forward locally
# its just a hint for user which port to forward
EXPOSE 43210/udp
# Clean up
# RUN apt-get clean && \
# rm -rf /var/lib/apt/lists/* /tmp/*