From daf79c7afe5a90171ca67b75b12c9a93f6fcbe43 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 29 Jul 2025 17:32:08 +0300 Subject: [PATCH] [dev] added steamcmd to ecosystem --- games/7d2d/Dockerfile | 2 +- games/7d2d/docker-compose.yml | 1 - games/csgo/Dockerfile | 2 +- games/steamcmd/Makefile | 5 --- .../ecosystem}/steamcmd/Dockerfile | 0 linux/ecosystem/steamcmd/Makefile | 44 +++++++++++++++++++ {games => linux/ecosystem}/steamcmd/README.md | 0 linux/ecosystem/steamcmd/docker-compose.yml | 5 +++ 8 files changed, 51 insertions(+), 8 deletions(-) delete mode 100644 games/steamcmd/Makefile rename {games => linux/ecosystem}/steamcmd/Dockerfile (100%) create mode 100644 linux/ecosystem/steamcmd/Makefile rename {games => linux/ecosystem}/steamcmd/README.md (100%) create mode 100644 linux/ecosystem/steamcmd/docker-compose.yml diff --git a/games/7d2d/Dockerfile b/games/7d2d/Dockerfile index bbf8b9a68..cb1c05f49 100644 --- a/games/7d2d/Dockerfile +++ b/games/7d2d/Dockerfile @@ -1,7 +1,7 @@ ############################################## # 7d2d dedicated server ############################################## -FROM epicmorg/linux-steamcmd +FROM epicmorg/steamcmd:linux LABEL maintainer="Guahos, chipmunkzombie@gmail.com" #Steam App ID diff --git a/games/7d2d/docker-compose.yml b/games/7d2d/docker-compose.yml index 4797ef3c9..36e4b316e 100644 --- a/games/7d2d/docker-compose.yml +++ b/games/7d2d/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.7' services: 7d2d_server: container_name: 7d2d_ds_v1 diff --git a/games/csgo/Dockerfile b/games/csgo/Dockerfile index ce58c79b2..c83c35492 100644 --- a/games/csgo/Dockerfile +++ b/games/csgo/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/linux-steamcmd +FROM epicmorg/steamcmd:linux LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/games/steamcmd/Makefile b/games/steamcmd/Makefile deleted file mode 100644 index fdeacb8dc..000000000 --- a/games/steamcmd/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -all: emgcmd -emgcmd: - docker build --compress -t epicmorg/linux-steamcmd . - docker push epicmorg/linux-steamcmd - diff --git a/games/steamcmd/Dockerfile b/linux/ecosystem/steamcmd/Dockerfile similarity index 100% rename from games/steamcmd/Dockerfile rename to linux/ecosystem/steamcmd/Dockerfile diff --git a/linux/ecosystem/steamcmd/Makefile b/linux/ecosystem/steamcmd/Makefile new file mode 100644 index 000000000..ff56425bb --- /dev/null +++ b/linux/ecosystem/steamcmd/Makefile @@ -0,0 +1,44 @@ +all: app + +app: + make pip + make build + make deploy + make clean + +build: + make build-buildah + +deploy: + make deploy-buildah + +build-buildah: + buildah-wrapper --build --squash + +deploy-buildah: + buildah-wrapper --deploy + +build-kaniko: + kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:debug --dry-run + +deploy-kaniko: + kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:debug + +build-compose: + docker-compose build --compress --parallel --progress plain + +deploy-compose: + docker-compose push + +clean: + docker container prune -f + docker image prune -f + docker network prune -f + docker volume prune -f + docker system prune -af + buildah rm -a + buildah rmi -a + +pip: + pip3 install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper + pip install --break-system-packages --no-cache-dir kaniko-wrapper buildah-wrapper \ No newline at end of file diff --git a/games/steamcmd/README.md b/linux/ecosystem/steamcmd/README.md similarity index 100% rename from games/steamcmd/README.md rename to linux/ecosystem/steamcmd/README.md diff --git a/linux/ecosystem/steamcmd/docker-compose.yml b/linux/ecosystem/steamcmd/docker-compose.yml new file mode 100644 index 000000000..1d9f065a2 --- /dev/null +++ b/linux/ecosystem/steamcmd/docker-compose.yml @@ -0,0 +1,5 @@ +services: + app: + image: "epicmorg/steamcmd:linux" + build: + context: .