/Grassdocker

Better Docker image for Grasscutter

Primary LanguageDockerfileMIT LicenseMIT

Note: This repository is no longer maintained.

Note: Updates to this repository is temporarily suspended until this issue is addressed.

Grassdocker

This repository provides a Dockerfile that can be used to build a completely self-contained Docker image for Grasscutter. It tracks the development branch and is confirmed to be working with Genshin 2.6.

The resulting image is about 1.4 GB in size and has:

  • All required resources (bins, excels, etc.) baked into the image
  • Fixed reliquary excels with weight props
  • Proper image layering and multistaged build
  • Proper TLS root and server certificates with DNS names for mihoyo.com, yuanshen.com and hoyoverse.com
  • No unnecessary dependencies in the resulting image

I do not provide any prebuilt Docker image on Docker Hub at the moment.

Building

  1. Clone the repository with all required submodules.
git clone --recurse-submodules -j8 https://github.com/chiyadev/Grassdocker.git
  1. Run the build script with the image name. "grassdocker" is provided as an example which can be changed.
./build.sh grassdocker

Running

Running this Docker image is very simple. Refer to this script or the compose file as an example.

Connecting

  1. Import the root certificate that comes with this repository into the client's trusted certificate authority store.
  2. Follow the Grasscutter connection guide as usual.