Skip to content

Add git and Git-lfs package for FastBack mod #2780

Closed
@BlownIntoSpace

Description

@BlownIntoSpace

Enhancement Type

A completely new feature

Describe the enhancement

The FastBack mod uses git to manage world versions. I believe it used to use jgit in the past, but now requires git and git-lfs to be natively installed.

I have tested it by installing the git binaries using

FROM itzg/minecraft-server:latest
RUN apt-get update && apt-get install -y git git-lfs

and it seems to run well when it works, but the fastback mod does seem to be unable to find the git executables half the time if i dont manually rebuild the image every time i launch the server, but that could just be an issue on my end.

Git would also require a .gitconfig file in the containers /etc/gitconfig directory, which i just set to something like this:

[user]
	name = Minecraft Server
	email = server@example.com
	username = minecraft-server
[init]
	defaultBranch = main

which could be easily overridden using volumes if anyone wanted to have their own info in there.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions