acbgbca / minecraft-bedrock-docker Goto Github PK
View Code? Open in Web Editor NEWMinecraft Bedrock server running in Docker
License: MIT License
Minecraft Bedrock server running in Docker
License: MIT License
readme.md file needs to be completed. At a minimum it needs to contain:
Containers shouldn't run as root for security reasons. The container needs to be updated to run by non-root by default, and to let the user customise which user the container runs as.
Because the setting files sit directly in the Minecraft directory it isn't easy to mount them at run time. Instead we need to add the ability to pass in environment variables which will over-ride the settings
Things to look at:
- JQ - https://stedolan.github.io/jq/
Update:
After some thought I've changed my mind. Updating the files on the fly with the environment variables could lead to issues.
Instead, I am going to move the config to a separate location, and use symbolic links to put them in the minecraft directory. Makes it easier for the files to be edited and backed up
Add configuration for Github actions
Create an Alpine linux version as it should be much smaller in size than Ubuntu
This will mean we'll need distro specific tagging to identity the differences
set-output is now deprecated: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Another method will need to be found to pass values to subsequent stages.
To avoid premature upgrades, there should be additional latest tags for each version. E.g.
That will mean major version upgrades won't happen until someone is ready
We need to test start the container prior to pushing the image to ensure that it does start correctly, and to ensure there have been no dependency changes upstream.
The Dockerfile should be updated to build in separate stages. That will help reduce build times, and also try to keep the image as small as possible.
The current version does not start. It appears to require a newer glibc version
We should add a healthcheck to the container to verify that it is working.
We should also be able to use that to verify that the container works after a release.
A check needs to be added on start to verify that the user accepts the Minecraft EULA: https://www.minecraft.net/en-us/terms
Steps:
The following error is occurring on start up
./bedrock_server: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.