StruxaEggs Explorer

Generic C#

Generic

A generic C# (dotnet) egg that runs your C# project.

Author: josdekurk@gmail.comSource: pterodactyl/generic-eggsUpdated: 5/24/2026

Startup Command

if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == "1" ]]; then git pull; fi; cd {{PROJECT_DIR}}; dotnet restore; dotnet run --project {{PROJECT_FILE}}

Docker Images

LabelImage
Dotnet_8ghcr.io/ptero-eggs/yolks:dotnet_8
Dotnet_7ghcr.io/ptero-eggs/yolks:dotnet_7
Dotnet_6ghcr.io/ptero-eggs/yolks:dotnet_6
Dotnet_5ghcr.io/ptero-eggs/yolks:dotnet_5
Dotnet_3.1ghcr.io/ptero-eggs/yolks:dotnet_3.1
Dotnet_2.1ghcr.io/ptero-eggs/yolks:dotnet_2.1

Environment Variables

NameVariableDefaultRules
Git Repo Address
GitHub Repo to clone I.E. https://github.com/parkervcp/repo_name
GIT_ADDRESSnonenullable|string
Install Branch
The branch to install.
BRANCHnonenullable|string
User Uploaded Files
Skip all the install stuff if you are letting a user upload files. 0 = false (default) 1 = true
USER_UPLOAD0required|boolean
Auto Update
Pull the latest files on startup when using a GitHub repo.
AUTO_UPDATE0required|boolean
Git Username
Username to auth with git.
USERNAMEnonenullable|string
Git Access Token
Password to use with git. It's best practice to use a Personal Access Token. https://github.com/settings/tokens https://gitlab.com/-/profile/personal_access_tokens
ACCESS_TOKENnonenullable|string
project file
The main project file if multiple are present
PROJECT_FILEnonenullable|string
Project location
The location of where the .csproj file is located. not the .sln file!
PROJECT_DIR/home/containerrequired|string|