Giter VIP home page Giter VIP logo

steamcmd's Introduction

CircleCI Docker image Docker Pulls License

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests Contributors Paypal GitHub Sponsor

Docker image drpsychick/steamcmd

Docker image with steamcmd pre-installed for hosting game servers.

UPDATE August 2022: I cloned this repo and split from the original, because my PR was never accepted. The original is here: thmhoag/steamcmd.

Overview

This image is designed to be a base image for any server run via steamcmd. Regular automated builds ensure that the image always contains the latest version of steamcmd. When using the image it is recommended to always pull the latest tag to ensure no updates are required when running.

The image inherits from ubuntu for a few reasons:

  • Easier for those less familiar with linux to inherit and build from
  • Ability to pull steamcmd from the apt package manager

steamcmd Info

Tags

  • latest (using latest Ubuntu official image)
  • kinetic, jammy, focal, bionic

Usage

Installing the image

Pull the latest:

docker pull drpsychick/steamcmd

As a base

To use the image as a base, inherit your docker image using the FROM annotation in the Dockerfile:

ARG UBUNTU_VERSION=latest
FROM drpsychick/steamcmd:$UBUNTU_VERSION

steamcmd has been added to the path so that it can be called easily from any location:

RUN steamcmd +app_update 1 +quit

Root/User Caveat

By default, this image runs as the steam user and does not have root access inside the container. This is partially due to the way that steamcmd expects to be run as a user with the name steam, but also for the increased security of not having root inside the container.

If you need root during the build of your image, you can switch users during the build:

USER root

RUN my-script-that-needs-root.sh

USER steam

If you need root access during the execution of the game server you will need to add the steam user to the root user group and make sure it can execute passwordless sudo commands. I won't cover that here, as that should not be necessary in the vast majority of cases and is not recommended.

To run the image

NOTE: It is not recommended to run this image by itself, it is indended to be used as a base image when creating game server specific images. (Such as a 7dtd image, ARK image, CSGO image, etc)

To run by itself:

$ docker run -it drpsychick/steamcmd bash

Contributing

Pull requests are welcome with the caveat that this image is meant to be a base image only and it is not intended to include any additional functionality beyond steamcmd itself.

steamcmd's People

Contributors

drpsychick avatar thmhoag avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

steamcmd's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

circleci
.circleci/config.yml
dockerfile
Dockerfile

  • Check this box to trigger a request for Renovate to run again on this repository

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.