Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Deinhamer committed Dec 31, 2015
2 parents da19beb + 05db695 commit d6bee72
Show file tree
Hide file tree
Showing 9 changed files with 596 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
charset = utf-8
indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false

[*.sh]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Development
/Vagrantfile
/.vagrant/
/docker-compose.yml
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Change Log

## [next]

## [0.1.0]

### Added
- Initial release.

[next]: https://github.com/thasmo/vagrant.box/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/thasmo/vagrant.box/compare/da19beb5479033b82dd6dc1200bb0cf6724904c3...v0.1.0
62 changes: 62 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
FROM ubuntu:14.04
MAINTAINER Thomas Deinhamer <[email protected]>

RUN dpkg --add-architecture i386 \
&& apt-get update -y \
&& apt-get install -y curl lib32gcc1 lib32stdc++6 libcurl4-gnutls-dev:i386 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN useradd -m steam

COPY /run.sh /home/steam/
RUN chmod +x /home/steam/run.sh

USER steam

RUN mkdir -p /home/steam/.klei/DoNotStarveTogether/save/

RUN cd /home/steam \
&& curl -SLO "http://media.steampowered.com/installer/steamcmd_linux.tar.gz" \
&& tar -xvf steamcmd_linux.tar.gz -C /home/steam \
&& rm steamcmd_linux.tar.gz

RUN /home/steam/steamcmd.sh \
+@ShutdownOnFailedCommand 1 \
+@NoPromptForPassword 1 \
+login anonymous \
+force_install_dir /home/steam/DoNotStarveTogether \
+app_update 343050 validate \
+quit

ENV DEFAULT_SERVER_NAME="Dont Starve Together" \
DEFAULT_SERVER_DESCRIPTION="Powered by DST-Academy." \
SERVER_PORT=10999 \
OFFLINE_SERVER=false \
MAX_PLAYERS=4 \
WHITELIST_SLOTS=0 \
PVP=false \
GAME_MODE=survival \
SERVER_INTENTION=cooperative \
ENABLE_AUTOSAVER=true \
TICK_RATE=15 \
CONNECTION_TIMEOUT=5000 \
ENABLE_VOTE_KICK=true \
PAUSE_WHEN_EMPTY=true \
STEAM_AUTHENTICATION_PORT=8766 \
STEAM_MASTER_SERVER_PORT=27016 \
STEAM_GROUP_ONLY=false \
STEAM_GROUP_ADMINS=false \
CONSOLE_ENABLED=true \
AUTOCOMPILER_ENABLED=true \
MODS_ENABLED=true \
SHARD_ENABLE=false \
IS_MASTER=false \
BIND_IP="0.0.0.0" \
DISABLECLOUD=true

EXPOSE 10999/udp
VOLUME ["/home/steam/.klei/DoNotStarveTogether/save/"]

WORKDIR /home/steam/DoNotStarveTogether/data/
ENTRYPOINT ["/home/steam/run.sh"]
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Thomas "Thasmo" Deinhamer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit d6bee72

Please sign in to comment.