Skip to content

Generates a Docker image which provides a ready-to-use `sm-builder`

Notifications You must be signed in to change notification settings

Drarig29/sm-builder-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sm-builder

Docker Image Version (latest by date) Docker Image workflow

This repository generates a Docker image providing sm-builder, which is a build/package tool to compile SourceMod plugins.

Thanks to this image, you don't have anymore to:

  • Have the Dockerfile in your project.
  • Have a smbuild file in your project.
  • Have a .gitmodules file in your project.
  • Build the image yourself.

Just go in your SourceMod plugin's root folder, and run the following:

docker run --rm -v $(pwd):/src -v $(pwd)/out:/out drarig29/sm-builder:latest

You will find the artefacts in the ./out folder.

A common plugin structure is:

scripting/

  include/
      * get5.inc

  * your_plugin.sp

* LICENSE
* README.md

Requirements

  • Docker 😎

  • If you don't have a smbuild file:

    • You need to have a single .sp file in the scripting/ folder.
    • You need to have a LICENSE and a README.md.

Thanks 💗