diff --git a/README.md b/README.md index f8944e8..593c2ec 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Supported tags and respective `Dockerfile` links * `minimal` [(minimal/Dockerfile)](https://github.com/Hackebein/docker-garrysmod/blob/master/minimal/Dockerfile) -* `latest` [(latest/Dockerfile)](https://github.com/Hackebein/docker-garrysmod/blob/master/latest/Dockerfile) +* `basic`, `latest` [(latest/Dockerfile)](https://github.com/Hackebein/docker-garrysmod/blob/master/basic/Dockerfile) * ~~`full` [(full/Dockerfile)](https://github.com/Hackebein/docker-garrysmod/blob/master/full/Dockerfile).~~ coming soon # What is Garry's Mod? diff --git a/basic/Dockerfile b/basic/Dockerfile new file mode 100644 index 0000000..77d9dfc --- /dev/null +++ b/basic/Dockerfile @@ -0,0 +1,15 @@ +FROM hackebein/garrysmod:minimal + +ARG BASEDIR=/opt/garrysmod + +RUN /usr/games/steamcmd \ + +login anonymous \ + +force_install_dir $BASEDIR \ + # cstrike + +app_update 232330 -validate -language en \ + # garrysmod + +app_update 4020 -validate -language en \ + +quit && \ + rm -rf $BASEDIR/garrysmod/cfg/* + +COPY cfg $BASEDIR/garrysmod/cfg \ No newline at end of file diff --git a/latest/cfg/mount.cfg b/basic/cfg/mount.cfg similarity index 100% rename from latest/cfg/mount.cfg rename to basic/cfg/mount.cfg diff --git a/latest/cfg/mountdepots.txt b/basic/cfg/mountdepots.txt similarity index 100% rename from latest/cfg/mountdepots.txt rename to basic/cfg/mountdepots.txt diff --git a/latest/cfg/server.cfg b/basic/cfg/server.cfg similarity index 100% rename from latest/cfg/server.cfg rename to basic/cfg/server.cfg diff --git a/latest/Dockerfile b/latest/Dockerfile index 77d9dfc..75151c5 100644 --- a/latest/Dockerfile +++ b/latest/Dockerfile @@ -1,15 +1 @@ -FROM hackebein/garrysmod:minimal - -ARG BASEDIR=/opt/garrysmod - -RUN /usr/games/steamcmd \ - +login anonymous \ - +force_install_dir $BASEDIR \ - # cstrike - +app_update 232330 -validate -language en \ - # garrysmod - +app_update 4020 -validate -language en \ - +quit && \ - rm -rf $BASEDIR/garrysmod/cfg/* - -COPY cfg $BASEDIR/garrysmod/cfg \ No newline at end of file +FROM hackebein/garrysmod:basic \ No newline at end of file