Skip to content

Commit 07050a0

Browse files
committed
fix: xon 0.8.5 specific changes
1 parent a89c76b commit 07050a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker-containers/xonotic/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:buster-slim
1+
FROM debian:bullseye-slim
22

33
WORKDIR /opt
44

@@ -7,7 +7,7 @@ RUN apt-get -y install python3 python3-pip
77

88
COPY Xonotic-clean .
99

10-
RUN mkdir -p /opt/server && touch /opt/server/server.cfg
10+
RUN mkdir -p /opt/data && touch /opt/data/server.cfg
1111

1212
COPY sidecar-service/requirements.txt .
1313
COPY sidecar-service/sidecar-service.py .

docker-containers/xonotic/sidecar-service/sidecar-service.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
DEBUG = bool(os.environ.get("DEBUG", False))
1515
CONFIG_URL = os.environ.get(
1616
"CONFIG_URL",
17-
"https://raw.githubusercontent.com/xonotic/xonotic/master/server/server.cfg",
17+
"https://raw.githubusercontent.com/xonotic/xonotic/a4eee56551654a2c34debfd450aa44eda2934e0b/server/server.cfg",
1818
)
1919

2020
HOST = os.environ.get("HOST", "0.0.0.0")
@@ -41,7 +41,7 @@ def get_game_pid() -> Optional[int]:
4141

4242

4343
def write_config():
44-
with open("/opt/server/server.cfg", "wb") as f:
44+
with open("/opt/data/server.cfg", "wb") as f:
4545
f.write(requests.get(CONFIG_URL).content)
4646

4747

0 commit comments

Comments
 (0)