Note: This repository is no longer maintained.
Note: Updates to this repository is temporarily suspended until this issue is addressed.
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
andhoyoverse.com
- No unnecessary dependencies in the resulting image
I do not provide any prebuilt Docker image on Docker Hub at the moment.
- Clone the repository with all required submodules.
git clone --recurse-submodules -j8 https://github.com/chiyadev/Grassdocker.git
- Run the build script with the image name. "grassdocker" is provided as an example which can be changed.
./build.sh grassdocker
Running this Docker image is very simple. Refer to this script or the compose file as an example.
- Import the root certificate that comes with this repository into the client's trusted certificate authority store.
- Follow the Grasscutter connection guide as usual.