linuxserver / docker-minetest

GNU General Public License v3.0
52 stars 33 forks source link

[BUG] upstream deprecation warning #63

Closed lmaddox closed 3 months ago

lmaddox commented 3 months ago

Is there an existing issue for this?

Current Behavior

deprecation warning

Expected Behavior

should not produce warnings.

preliminary search shows that it's maybe related to this

Steps To Reproduce

./docker-compose.yml

Environment

- OS: voidlinux
- How docker service was installed: distro's packagemanager; swarm manager

CPU architecture

x86-64

Docker creation

#! /usr/bin/env -S sh -c "docker compose -f \$@ up --build" shebang

services:

  minetest:
    container_name: minetest
    build: .
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - "CLI_ARGS=--gameid minetest_game --world /config/.minetest/worlds/world"
    volumes:
      - minetest-data:/config/.minetest
    network_mode:   "host"                         # 30000, 29999
    restart:        unless-stopped
    logging:
      driver:      "syslog"

volumes:
  minetest-data:
    driver: local

Dockerfile:

FROM lscr.io/linuxserver/minetest:latest
RUN apk update
RUN apk upgrade --no-cache
RUN apk add --no-cache lua-socket lua-cjson lua5.1-socket lua5.1-cjson cjson

### Container logs

```bash
minetest  | 2024-08-22 20:49:34: WARNING[Main]: MINETEST_SUBGAME_PATH is deprecated, use MINETEST_GAME_PATH instead.
github-actions[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

aptalca commented 3 months ago

Thnks for the heads up.

By the way, you don't have to build your own image. You can just use our universal package install mod for those additional packages: https://github.com/linuxserver/docker-mods/tree/universal-package-install