Skip to content

Commit

Permalink
Xonotic: gLibc incompatibility (#3495)
Browse files Browse the repository at this point in the history
Xonotic image was previously broken with the following error:

```
❯ kubectl logs xonotic-ggbpd-g22ww --container xonotic
/home/xonotic/wrapper: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/xonotic/wrapper)
/home/xonotic/wrapper: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/xonotic/wrapper)
```

Looks like it needed a newer version of debian to run inline with the
updated golang update.
  • Loading branch information
markmandel committed Nov 9, 2023
1 parent e12ae6f commit 3c3af17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/xonotic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN curl -o xonotic.zip https://dl.xonotic.org/xonotic-0.8.6.zip && \
unzip -qq xonotic.zip && rm xonotic.zip

# final image
FROM debian:bullseye
FROM debian:bookworm

WORKDIR /home/xonotic

Expand Down
5 changes: 2 additions & 3 deletions examples/xonotic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ WINDOWS_DOCKER_PUSH_ARGS = --push
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
project_path := $(dir $(mkfile_path))
ifeq ($(REPOSITORY),)
server_tag := xonotic-example:1.4
server_tag := xonotic-example:1.5
else
server_tag := $(REPOSITORY)/xonotic-example:1.4
server_tag := $(REPOSITORY)/xonotic-example:1.5
endif

server_tag_linux_amd64 = $(server_tag)-linux-amd64
push_server_manifest = $(server_tag_linux_amd64)
root_path := $(realpath $(project_path)/../..)


ifeq ($(WITH_WINDOWS), 1)
push_server_manifest += $(foreach windows_version, $(WINDOWS_VERSIONS), $(server_tag)-windows_amd64-$(windows_version))
endif
Expand Down
2 changes: 1 addition & 1 deletion examples/xonotic/fleet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ spec:
spec:
containers:
- name: xonotic
image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.4
image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.5
2 changes: 1 addition & 1 deletion examples/xonotic/gameserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ spec:
spec:
containers:
- name: xonotic
image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.4
image: us-docker.pkg.dev/agones-images/examples/xonotic-example:1.5
# imagePullPolicy: Always # add for development

0 comments on commit 3c3af17

Please sign in to comment.