-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (16 loc) · 722 Bytes
/
Dockerfile
File metadata and controls
26 lines (16 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ubuntu:22.04
LABEL maintainer="https://github.com/alibo"
ARG BOMBSQUAD_VERSION="1.7.28"
RUN apt-get -y update && \
apt-get install -y wget python3.11 libpython3.11 locales libsdl2-2.0-0&& \
rm -rf /var/lib/apt/lists/* && \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
WORKDIR /app
ENV TAR_FILE=BombSquad_Server_Linux_x86_64_${BOMBSQUAD_VERSION}
RUN wget https://files.ballistica.net/bombsquad/builds/$TAR_FILE.tar.gz -O bombsquad.tar.gz && \
tar -xzf bombsquad.tar.gz --strip-components 1 && \
rm -f config.yaml # removing default config file in order to put ourselves
COPY config.yaml .
EXPOSE 43210/udp
CMD ["/app/bombsquad_server"]