Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.6 KB

NOTES.md

File metadata and controls

44 lines (30 loc) · 1.6 KB

Notes

Release new version

Update Bedrock version

Auto build (no longer working, Docker Hub got rid of free builds)

Pushing commits/tags to GitHub will trigger Docker Hub builds.

Manual build

Note: ./build.sh builds the container locally, does not push anything to GitHub.

Build and push to Docker Hub

  • Update all occurences of BEDROCK_VERSION in the repo
  • docker build -t "iwhite/minecraft-bedrock:${BEDROCK_VERSION}" .
  • docker tag "iwhite/minecraft-bedrock:${BEDROCK_VERSION}" iwhite/minecraft-bedrock:latest
  • docker login
  • docker push "iwhite/minecraft-bedrock:${BEDROCK_VERSION}"
  • docker push iwhite/minecraft-bedrock:latest
  • Copy contents of README.md to update the Docker Hub repo Readme

Run locally

mkdir /tmp/minecraft-bedrock
docker run -dit -v /tmp/minecraft-bedrock:/data -p 19132:19132/tcp -p 19132:19132/udp iwhite/minecraft-bedrock:{version}

Debug

docker exec -it {container_id} bash