Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webp missing from DockerHub images #3035

Closed
gaaat98 opened this issue Aug 8, 2024 · 3 comments
Closed

webp missing from DockerHub images #3035

gaaat98 opened this issue Aug 8, 2024 · 3 comments
Labels
discussion status/stale No recently activity has been seen and will be closed soon.

Comments

@gaaat98
Copy link

gaaat98 commented Aug 8, 2024

Describe the problem

In theory #2066 should have added the webp packages used by Dynmap for generating webp tiles, however it appears that for some reason the packages are not installed on the images downloaded via docker pull itzg/minecraft-server
After running the container, if I execute sudo docker exec -it mc webp the result is OCI runtime exec failed: exec failed: unable to start container process: exec: "webp": executable file not found in $PATH: unknown.

I tested this both on Unraid and Windows 11+WSL, am I doing something wrong?

Container definition

docker run  -e EULA=TRUE -d -p 25565:25565 --name mc -v /tmp/mc-data:/data itzg/minecraft-server

Container logs

2024-08-08 11:10:00 [init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 2 1000 1000 4096 Aug  8 09:08 /data'
2024-08-08 11:10:00 [init] Resolving type given VANILLA
2024-08-08 11:10:03 [init] Resolved version given LATEST into 1.21
2024-08-08 11:10:06 [init] Downloading 1.21 server...
2024-08-08 11:10:12 [init] Creating server properties in /data/server.properties
2024-08-08 11:10:12 [init] Disabling whitelist functionality
2024-08-08 11:10:13 [mc-image-helper] 09:10:13.052 INFO  : Created/updated 4 properties in /data/server.properties
2024-08-08 11:10:13 [init] Setting initial memory to 1G and max to 1G
2024-08-08 11:10:13 [init] Starting the Minecraft server...
@itzg
Copy link
Owner

itzg commented Aug 8, 2024

I removed webp since it added 200-300 MB to the image size. Please use an older image tag until I figure if/how I want to support that package. You're also welcome to build your own image that adds that package.

Copy link

github-actions bot commented Sep 8, 2024

This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.

@github-actions github-actions bot added the status/stale No recently activity has been seen and will be closed soon. label Sep 8, 2024
@itzg
Copy link
Owner

itzg commented Sep 8, 2024

With #3060 added ability to customize image build with extra packages https://docker-minecraft-server.readthedocs.io/en/latest/misc/contributing/building/#installing-extra-packages

@itzg itzg closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion status/stale No recently activity has been seen and will be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants