GithubHelp home page GithubHelp logo

iklem / ringracers.dockerfile Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 15 KB

Ensemble of files use by the "Kartcade" server for "Dr. Robotnik's Ring Racers" game

Home Page: http://kartcade.iklem.fr

License: GNU General Public License v2.0

Dockerfile 65.21% Shell 34.79%

ringracers.dockerfile's Introduction

Unofficial "Dr. Robotnik's Ring Racers" Dockerfile

Note: This repository doesn't contains any final image, you can follow the guide below.

Build image

Note: The built image will use the "master" branch of RR on the KartKrew repository

Clone this repository and move into it, then run this command with the arguments you need :

docker build \
	--build-arg="RR_TAG=v2.2" \
	--build-arg="RR_PORT=5029" \
	--build-arg="ADVERTISE=Yes" \
	-t=ringracers-server .

All availables build arguments, :

Key Values Default
RR_TAG Version of the game to run to, format : "vX.Y" "v2.2"
RR_PORT Port you want to use "5029"
ADVERTISE If you want to advertise the server on "ms.kartkrew.org" "Yes"

Note: Only the RR_TAG is useful for building the image, it is not for running the container

Run container

Run this command after building the image :

docker run -i -t -d \
	--name=ringracers.server \
	-v "/path/to/some/folder/on/host:/home/ringracers/.ringracers/" \
	-e RR_PORT=5029 \
	-e ADVERTISE=Yes \
	-p 5029:5029/udp \
	--health-cmd='./entrypoint.sh monitor' \
	--health-interval=30s \
	--health-start-period=5s \
	ringracers-server

You can change the healthcheck values if you want to restart the server if it has crashed.
You'll need to match the RR_PORT (you can set it during build or during running) to the port in the -p 5029:5029/udp argument, the one to the right in the argument.

Access game console

You can acces the game console with this command : docker exec -i -t ringracers.server tmux attach
To detach from the console without closing the server, press Ctrl+B then D (see tmux manual on this).

Credits

KartKrew for their amazing work on the game.
AceyT for some of his help during the stream when we had to make this Dockerfile (checkout his version for ARMv8)

ringracers.dockerfile's People

Contributors

iklem avatar

Stargazers

Anders Moberg avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.