Skip to content

startersclan/docker-bf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-bf2

github-actions github-release docker-image-size

Dockerized Battlefield 2 Server.

Tags

All images contain Battlefield 2 Server 1.50, and include Enhanced Strategic AI (ESAI), which may be activated if needed.

Tag Dockerfile Build Context
:v1.5.3153.0, :latest View
:v1.5.3153.0-aix2 View
:v1.5.3153.0-bf2all64 View
:v1.5.3153.0-bf2all64-bf2stats-2.2.0 View
:v1.5.3153.0-bf2all64-bf2stats-2.3.8 View
:v1.5.3153.0-bf2all64-bf2stats-2.4.6 View
:v1.5.3153.0-bf2all64-bf2stats-2.5.1 View
:v1.5.3153.0-bf2all64-bf2stats-2.6.0 View
:v1.5.3153.0-bf2all64-bf2stats-2.7.2 View
:v1.5.3153.0-bf2all64-bf2stats-2.8.1 View
:v1.5.3153.0-bf2all64-bf2stats-2.9.4 View
:v1.5.3153.0-bf2all64-bf2stats-3.1.0 View
:v1.5.3153.0-bf2all64-bf2stats-3.1.2 View
:v1.5.3153.0-bf2all64-bf2stats-3.2.0 View
:v1.5.3153.0-bf2all64-bf2stats-3.3.0 View
:v1.5.3153.0-bf2hub View
:v1.5.3153.0-bf2stats-2.2.0 View
:v1.5.3153.0-bf2stats-2.3.8 View
:v1.5.3153.0-bf2stats-2.4.6 View
:v1.5.3153.0-bf2stats-2.5.1 View
:v1.5.3153.0-bf2stats-2.6.0 View
:v1.5.3153.0-bf2stats-2.7.2 View
:v1.5.3153.0-bf2stats-2.8.1 View
:v1.5.3153.0-bf2stats-2.9.4 View
:v1.5.3153.0-bf2stats-3.1.0 View
:v1.5.3153.0-bf2stats-3.1.2 View
:v1.5.3153.0-bf2stats-3.2.0 View
:v1.5.3153.0-bf2stats-3.3.0 View
:v1.5.3153.0-fh2-4.6.304 View

Usage

For usage and docker-compose examples, see here.

Development

Requires Windows powershell or pwsh.

# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose

# Edit ./generate templates

# Generate the variants
Generate-DockerImageVariants .

Bump a variant

# Replace occurrences with new semver
git ls-files | grep -E '^docs' | xargs sed -i 's/2.5.0/2.5.1/'

# Update the sha256sum of archives if needed
vi generate/templates/Dockerfile.ps1

# Generate the variants
Generate-DockerImageVariants .