Geoff Bourne
5c6a2cf44f
[mc] Use a probing approach to find Forge URL and launcher name
...
For #91 and #153
2017-05-28 20:55:09 -05:00
Geoff Bourne
536a7f6095
[mc] Adapt Forge install run for 1.6-1.10
...
For #153
2017-05-28 11:37:08 -05:00
Geoff Bourne
156716a7d8
Merge branch 'feat/ftb-download-config'
...
Fixes #151
2017-05-26 20:09:03 -05:00
Geoff Bourne
0876ef7704
Copy additional meta files into FTB directory
2017-05-26 20:07:26 -05:00
Geoff Bourne
bd8e0cf5d2
Fix FTB download and copy adjusted properties into FTB dir
2017-05-20 10:56:32 -05:00
Dan Schaper
1d5c4e3b0b
Check both upper and lower arguments
2017-05-19 21:32:52 -07:00
Dan Schaper
6a565692a0
Add optional nogui
...
If set via ENV, disable GUI on server.
2017-05-19 19:53:45 -07:00
Geoff Bourne
cf68446a00
Add option to download FTB server zip
2017-05-19 20:44:59 -05:00
Jack Wilsdon
7bb397a031
Use cURL insecurely when downloading
...
This fixes an error caused by the expired certificate on ci.mcadmin.net.
2017-05-12 21:10:57 +01:00
Geoff Bourne
d86f034e96
[mc] Add python package and improve Forge install robustness
...
For #148
2017-05-08 22:35:37 -05:00
Geoff Bourne
20385507d8
[mc] Add mysql-client package for mods that need it
...
For #145
2017-05-05 20:46:35 -05:00
Geoff Bourne
91def1176d
[mc] Run FTB server in its directory to support legacy
...
For #144
2017-05-05 20:18:31 -05:00
Benjamin
5ec21fc0ba
change deprecated maintainer to label
2017-05-02 21:29:17 +02:00
Geoff Bourne
615d12bce3
[mc] Upgrade to rcon-cli 1.3
2017-04-09 08:30:20 -05:00
Geoff Bourne
72d055ac19
[mc] Add support for DOWNLOAD_*_URL overrides
...
Also switched from wget to curl
2017-04-08 07:20:04 -05:00
Geoff Bourne
80c18004c1
[mc] Integrate rcon-cli
2017-04-07 19:35:15 -05:00
Geoff Bourne
97e9b2901c
[mc] Fixed docker-compose example
2017-04-06 12:41:21 -05:00
Geoff Bourne
027d94cc77
Initial content of minecraft-server container diagram
2017-04-05 10:36:03 -05:00
Geoff Bourne
66261af03d
Added Minecraft server containment diagram
2017-04-05 10:31:21 -05:00
Geoff Bourne
290e2c734a
[mc] Improved UID/GID handling in passwd/group files
...
For #136
2017-04-04 22:11:05 -05:00
Geoff Bourne
bbe1533f91
[mc] Adjust mem with MEMORY and INIT_/MAX_MEMORY
...
For #126
2017-03-19 09:35:58 -05:00
Geoff Bourne
97040f61ed
[mc] Remove -u from unzip in FTB for Alpine compatibility
...
For #132
2017-03-09 18:56:19 -06:00
Geoff Bourne
07c32d8ee4
[mc] Fixed TYPE=FORGE for alpine base image
...
For #128
2017-02-28 18:32:15 -06:00
Geoff Bourne
c96c630fe5
Merged branch master into master
2017-02-22 16:49:21 -06:00
Geoff Bourne
f69e75cfc1
[mc] Add rcon to big composition
2017-02-22 16:49:08 -06:00
Geoff Bourne
854a158d3d
Merge branch 'master' into alpine
2017-02-22 13:16:38 -06:00
Geoff Bourne
18919ef33c
[mc] Upgrade to Alpine compatible restify
2017-02-22 13:14:48 -06:00
Geoff Bourne
32b0737e70
[mc] Add rcon to docker-compose.yml example
2017-02-18 11:53:44 -06:00
Geoff Bourne
79eb164e90
[mc] Adding example compose file for large minecraft server
2017-02-18 11:00:55 -06:00
Geoff Bourne
f5dbbcc2c6
[mc] Use G1 GC by default and simplify max memory setting
...
For #126
2017-02-14 22:15:36 -06:00
Henry Gessau
4a89f3c579
Add Feed-The-Beast (FTB) server modpack support
...
The popular mod site https://www.feed-the-beast.com provides server
modpacks to go with their client modpacks. These server modpacks
include a custom start script that must be used to launch the server.
2017-02-13 22:13:53 -05:00
Geoff Bourne
9fe0021a7a
[mc] Upgrade base image to openjdk
...
Fixes #122
2017-01-12 19:40:58 -06:00
Ilkka Tengvall
2d8b3d7275
Remove commented lines
2016-12-07 19:10:18 +02:00
Ilkka Tengvall
f48eedee78
restored the java heap size
...
I reduced it for RasPi, but forgot it low here too. Restored.
2016-12-07 19:06:01 +02:00
Ilkka Tengvall
08d459c373
changed to work on alpine container
2016-12-07 00:31:06 +02:00
manuelgu
e766301d1e
Fix formatting
2016-10-18 13:59:43 +02:00
Geoff Bourne
3348083424
[mc] Fix game mode shorthand handling of s*
...
For #107
2016-10-02 07:50:19 -05:00
Kirk Strauser
c48f85cc4f
Oops! --noconsole for non-bootstrap, too
2016-09-22 19:51:44 -07:00
Kirk Strauser
aa13deecdb
Added CONSOLE envvar to control console output
...
By default, CONSOLE is true. When set to false, start-minecraft.sh
adds "--noconsole" to java. Use this to keep Spigot from burning CPU.
2016-09-22 19:51:44 -07:00
Geoff Bourne
b5bcea7d61
[mc] Add SKIP_OWNERSHIP_FIX option
...
For #104
2016-09-10 08:22:30 -05:00
Geoff Bourne
76d4fd1bbc
[mc] Check writability of /data before chown'ing it
...
For #104
2016-09-06 21:36:54 -05:00
Geoff Bourne
d14d666e24
[mc] Ensure home directory is writable
...
For #102
2016-08-30 17:11:10 -05:00
Geoff Bourne
911fcf8b42
[mc] Correcting EULA usage in compose example in README
...
Part of #101
2016-08-15 22:04:36 -05:00
Parthipan Ramesh
fe6e8c04ff
minecraft-server: EULA var needs to be a string (docker-compose.yml)
...
docker-compose refuses to build a container without the quotation marks.
2016-08-15 20:06:12 +02:00
Jim Tremblay
5c5b8cd999
Add default value of ONLINE_MODE
2016-08-03 21:59:48 -04:00
Jim Tremblay
074424a5bd
Add section about new option ONLINE_MODE
2016-08-03 21:58:07 -04:00
Jim Tremblay
99b1de0bbd
Update start-minecraft.sh
2016-08-01 22:09:30 -04:00
Tomasz Majer
ada4a1fab5
Mention PaperSpigot in README.md
2016-07-22 13:48:50 +02:00
Tomasz Majer
ea78bdd559
Add support for PAPER as possible Minecraft server
2016-07-21 18:32:45 +02:00
Larry Wright
d89de80db8
Update start-minecraft.sh
...
Each time this script is run it downloads the modpack if one is specified. When it tries to unzip the file, if the files already exist in the plugins directory, the script will hang indefinitely because unzip asks for confirmation that you want to overwrite the existing files. Adding -o to the unzip command will tell it to overwrite the files. I suspect the world download has the same issue, but I don't use that and so can't really test it.
2016-07-07 09:17:13 -05:00
Geoff Bourne
379905c6ff
[mc] Use restify to lookup Spigot/Bukkit URLs at startup
...
For #87
2016-07-01 22:17:10 -05:00
Geoff Bourne
0832bb0c43
[mc] Update Spigot info in README
...
For #80 and #79
2016-06-11 18:49:18 -05:00
Geoff Bourne
b97348d703
[mc] Remove extraneous exec java call
...
Fixed #76
2016-06-11 18:44:23 -05:00
Geoff Bourne
4cff161deb
[mc] Use new versions metadata json URL
...
For #83
2016-06-11 18:42:33 -05:00
Geoff Bourne
c806c425fd
[mc] Properly quote parameters passed into entry point
2016-05-30 11:41:03 -05:00
Geoff Bourne
0defd266a6
[mc] Use ENTRYPOINT and pass through extra args
...
Enables experimenting for #80
2016-05-28 20:58:36 -05:00
Geoff Bourne
5617936f10
Pre-compute the Bukkit/Spigot download URLs
...
For #77
2016-05-09 19:28:25 -05:00
Geoff Bourne
b5e459ab0a
...try wget for Spigot download
...
#74
2016-04-24 12:40:59 -05:00
Geoff Bourne
ae9109e2bf
...remove debugging code from Spigot download
...
#74
2016-04-24 11:59:44 -05:00
Geoff Bourne
b9f247728f
[mc] Detect and display curl error during Spigot/Bukkit download
...
#74
2016-04-24 10:50:48 -05:00
Geoff Bourne
3052cd1155
[mc] Normalize on SPIGOT for plugin/world setup
...
#75
2016-04-24 10:32:59 -05:00
Geoff Bourne
46c865a123
Only create /home/minecraft if absent
...
* only download/build Spigot/Bukkit when absent
* refactored download ops into functions
#72
2016-04-24 07:26:26 -05:00
Geoff Bourne
cf5d194b14
[mc] Robust handling of Forge, Bukkit, and Spigot version selection
...
* refactor server.properties sed ops into a utility function
* also switch to jq instead of jsawk
* simplify to BUILD_FROM_SOURCE from BUILD_SPIGOT_FROM_SOURCE
Fixes #70
2016-04-23 22:23:55 -05:00
Geoff Bourne
a6580b3fe3
[mc] Adding Docker stars to README
2016-04-16 16:45:50 -05:00
Sander
a4835ec331
Build spigot using buildtools ( #67 )
...
* Download buildtools
* Download buildtools
* Not a good idea to chmod /root
* Remove bukkit code
* fix jar not found
* Run start-minecraft as root (temp)
* Working buildtools
* Remove echo line
* Added more server properties, not working yet
* Show what server properties are being added
* Show what server properties are being added
* Add rcon.password
* Add max-world-size
* Added alot of server settings
* Expose rcon port
* Export home per itzg suggestion
* Update readme and server properties
* Env for building spigot from source
* Update readme
2016-04-16 11:26:13 -05:00
Geoff Bourne
786192e4b7
Added docker pulls badge with link to hub
2016-03-26 08:47:01 -05:00
jtcressy
a195583990
Cleaned Up Code per itzg's suggestion
...
Replaced hardcoded spigot_server.jar with $SERVER and broke up the line
to make it more readable.
2016-03-16 21:18:31 -06:00
jtcressy
a1ead0634e
[mc] New method of downloading newer spigot server executable.
...
using double pipe "||", bash will continue to the next statement if the
first statement returns false or has an error. Using the -N option, wget
will overwrite the file if it is newer. So, if the -O option was used,
and both wget commands failed (both http and https were down) then wget
would overwrite the file with a 0 byte copy and effectively delete it.
-N works better in this case, since wget will not overwrite it with an
empty file if it can't download it.
2016-03-15 13:09:28 -06:00
jtcressy
b23fb93366
Undid method of pulling spigot_server.jar
...
rm -f $SERVER was a bad idea, as it deletes the server file regardless
of whether wget is able to download a new one. If you keep a copy of
spigot_server in the server directory, wget will fail if it's unable to
pull the file and it wont delete what you already have.
2016-03-15 01:05:37 -06:00
Geoff Bourne
68d731c096
[mc] Ensure a fresh Bukkit/Spigot jar is downloaded every time
2016-03-06 15:34:02 -06:00
Geoff Bourne
a4bd241be6
[mc] Adding Spigot/Bukkit 1.9 support
...
fixes #62
2016-03-04 22:13:02 -06:00
Geoff Bourne
5f104a32db
[mc] Adding back text editors (vim and nano)
2016-03-03 22:32:22 -06:00
Geoff Bourne
03d9064b35
[mc] Putting back usermod solution
2016-02-27 17:10:11 -06:00
Geoff Bourne
afa25e582d
[mc] Upgrade base image to java:8
2016-02-20 18:05:41 -06:00
Geoff Bourne
dd0bcda23c
Fixes #58 by allowing FML versions 1.8.8+ to be 3-part
2016-01-31 09:13:22 -06:00
Piero Steinger
70a55e3be1
[minecraft] Pass GID as docker option
2016-01-29 20:50:53 +01:00
Nick Lloyd
6253d5ddc0
Merge branch 'itzg-master'
2016-01-06 15:56:50 -05:00
Nick Lloyd
63e3123ab0
gamerules.txt is now bootstrap.txt
2016-01-06 15:55:45 -05:00
Geoff Bourne
1be18346ce
[mc] Add Bukkit/Spigot support to MODPACK download-install
2016-01-03 09:37:27 -06:00
Geoff Bourne
9a90acab23
[mc] Fixed typo in Dockerfile
2016-01-01 22:23:26 -06:00
Geoff Bourne
edd69c40f6
Merge pull request #52 from sshipway/master
...
Add Spigot support, and non-zip URLs
2016-01-01 22:00:14 -06:00
Steve Shipway
582c60cd03
Add /plugins mount for external bukkit plugins
...
Add TYPE=BUKKIT documentation
2016-01-02 13:11:07 +13:00
Steve Shipway
13a6d91295
Fix typo
2016-01-02 12:20:39 +13:00
Steve Shipway
d0263f31d6
Add bukkit/spigot type download
2016-01-02 12:12:20 +13:00
Steve Shipway
4ab31a049b
Allow non-ZIP urls for download
...
Add directory rename for Spigot
2016-01-02 11:33:05 +13:00
Nick Lloyd
4b74d13f08
removing old exec java call
2016-01-01 17:11:10 -05:00
Nick Lloyd
2afbdc959e
added special handling for on startup gamerules (/gamerule commands), unfortunately will clobber stdin for the running server process
2016-01-01 17:06:56 -05:00
Geoff Bourne
9fa27b9a3d
[mc] Adding MODPACK download option similar to WORLD
2016-01-01 12:39:43 -06:00
Steve Shipway
a313c03fff
Verify source URL and log if not working
2015-12-22 20:39:53 +13:00
Steve Shipway
e76068e63e
Many improvements to help it work with automated schedulers
...
- Allow -e WORLD=http://xxxx/world.zip to download archived world and unpack
- Allow 'adventure' and 'spectator' game modes
- Allow /mods and /config mounts for shared Forge mods without using /data
- Quote many strings in case of blank values
- Let VERSION take lowercase options, and set to LATEST if blank or invalid
- Enable command blocks by default (needed for adventure worlds)
- Allow DIFFICULTY to be given numerically
- default to empty banned-players and banned-ip files to avoid error message
2015-12-22 19:53:29 +13:00
root
2427cae5a2
Quote pathnames in case of spaces and such
2015-12-19 21:50:44 +13:00
root
e902c6f40f
Set command blocks enabled on servers by default; improved use of
...
http world download.
2015-12-19 21:48:09 +13:00
Steve
ef34025dd8
Add support for download of world in zipfile
...
WORLD=http://hostname/world.zip
Zipfile should contain world/ directory, and optionally any required mods in mods/ as well as optionally
a default server.properties file (overwritten by any env vars)
Also export volumes /mods and /config, the contents of which are copied to /data/mods and /data/config. This
allows shared read-only mounts for modules without affecting world.
2015-12-19 15:32:29 +13:00
Geoff Bourne
2f5402195c
Merge remote-tracking branch 'refs/remotes/origin/master' into mc-issue-47
2015-11-30 21:51:19 -06:00
Geoff Bourne
764ae807e0
Avoid text file busy prior to exec sudo
2015-11-30 20:56:25 -06:00
Geoff Bourne
32cb5f44e4
[mc] also apply to white-list property
2015-11-28 23:02:43 -06:00
Everett Toews
111883e0d5
Whitelist players
2015-11-28 22:11:01 -06:00
Everett Toews
a412cfddad
Missed one...
2015-10-08 21:01:24 -05:00
Everett Toews
594c9873c4
Consistent use of name "mc" everywhere
2015-10-08 20:57:03 -05:00
Geoff Bourne
f75d735540
Merge branch 'master' of github.com:itzg/dockerfiles
2015-10-03 07:07:19 -05:00
Geoff Bourne
fec75cb117
Add support for level type and generator settings
2015-10-03 07:05:01 -05:00
Geoff Bourne
007fca149c
Adding info about using Docker Compose
2015-08-15 10:06:32 -05:00
domse
3f5fa1642b
Update README.md
...
Corrected a little frustrating misspelling.
2015-06-22 10:57:42 +02:00
nichivo
ed19d745cb
URL format changed for Forge 1.7.10 from 10.13.2.1300
2015-06-13 16:51:07 +10:00
nichivo
f2e6696368
Updated Forge usage docs and set FORGEVERSION=RECOMMENDED by default
2015-06-13 16:49:08 +10:00
Tim Visher
53a0d0cf7a
Default to easy.
2015-06-10 15:12:05 -04:00
Tim Visher
99b884f18a
Add note to README about setting world difficulty.
2015-06-10 15:00:53 -04:00
Tim Visher
ebc0405e72
typo.
2015-06-10 14:14:31 -04:00
Tim Visher
b86370295c
Add difficulty knob.
2015-06-10 14:13:36 -04:00
55chevypickup
0f466e2146
Added the ability to select forge version
...
Added the ability to select forge version by adding -e FORGEVERSION=10.13.3.1403-1.7.10 or -e FORGEVERSION=RECOMMENDED
2015-05-11 15:45:23 -05:00
Geoff Bourne
63925a794c
For #19 : added PVP env var options
...
* also adding a marker env var for MCCY to reference
2015-03-29 13:39:25 -05:00
Geoff Bourne
d4d070018a
[mc] Adding APT_GET_UPDATE to ensure latest base image is used on hub
2015-03-28 13:16:10 -05:00
Geoff Bourne
8594054047
Fixing #21 by using sudo instead of su
2015-03-28 13:10:39 -05:00
Geoff Bourne
b1f9d1c7c6
Use Forge recommended (not latest) version
...
* Misc Dockerfile cleanup
** use COPY instead of ADD
** wget is now pre-installed by base image
2015-03-20 20:26:43 -05:00
Justin Clayton
cc3730e5a9
minecraft-server: fixing quotes so volume will create correctly
...
Single quotes don't work for VOLUME, but double quotes do.
2015-03-17 10:37:47 -07:00
Geoff Bourne
011108cd7e
Fix typo in TLS info
2015-03-07 11:41:26 -06:00
Geoff Bourne
1600b75513
[mc] Update README to describe attach mode
2015-03-06 22:21:26 -06:00
Geoff Bourne
9962d28f41
Dangling forge-data reference
2015-03-05 15:16:35 -06:00
Geoff Bourne
ea08a6b496
Consistent description of /path/on/host
2015-03-05 15:13:17 -06:00
Geoff Bourne
5e14d3fbdd
Improve Forge instructions
2015-03-05 15:04:48 -06:00
Geoff Bourne
22e1abe628
[minecraft-server] Update README with new TYPE option
2015-03-05 14:16:14 -06:00
Geoff Bourne
01d9c54575
Simplify down our options when it comes to forge versions
2015-03-04 22:21:52 -06:00
Daniel L. Polanco
df09adbfd7
Add non-working code to work with Goeff
2015-03-04 20:07:37 -07:00
Daniel L. Polanco
2f4b73d862
Remove commented out cd /data from testing
2015-03-04 18:17:20 -07:00
Daniel L. Polanco
a252d794f9
Fix bad variable names
2015-03-04 18:15:36 -07:00
Daniel L. Polanco
79438e14de
Simplify start-minecraft.sh
2015-03-04 17:47:54 -07:00
Daniel L. Polanco
ddbc7e9618
Add apt-get update to beginning of Dockerfile
2015-03-04 17:06:51 -07:00
Daniel L. Polanco
87140179f2
Add option for Vanilla or Forge server
2015-03-04 16:55:57 -07:00
Daniel L. Polanco
14a1e5fb2a
Add initial version of forge download scraper
2015-03-01 21:39:38 -07:00
Geoff Bourne
8319b336c7
[minecraft-server] Updated README for new -e UID option ( fixes #9 )
2015-01-28 19:52:42 -06:00
Geoff Bourne
88a796bb44
Issue #9 : performing usermod to allow for -e provided uid of the minecraft server process
...
* corrected .dockerignore to allow for a $(pwd)/data for local testing of -v
2015-01-26 03:29:35 +00:00
Andreas Heil
60b6eea1e2
propagate SIGTERM to the Minecraft process
2015-01-05 10:32:31 +01:00
Geoff Bourne
bc9afcd659
[minecraft-server] Issue #9 : explicitly adding user in container with UID=1000
2015-01-03 14:17:05 +00:00
Geoff Bourne
052f80d849
[minecraft-server] Issue #9 : Added back the /start file in the image
2015-01-01 23:47:12 +00:00
Geoff Bourne
7e847829ee
* also moved EULA check before download to fail-fast
2015-01-01 16:01:15 +00:00
Geoff Bourne
44c0eee0f9
Updating minecraft-server README with SEED and MODE options
2015-01-01 09:22:59 -06:00
Geoff Bourne
0337f9fac1
Adding Minecraft -e options for the game mode and level seed
2015-01-01 15:10:41 +00:00
Geoff Bourne
b895e07e82
Default the versioning to grab latest stable
2014-12-06 10:26:03 -06:00
Geoff Bourne
6396e58d3c
Upgrading default minecraft server to 1.8.1
2014-12-01 04:05:12 +00:00
Geoff Bourne
9e845521a9
Updated README for enhancement #6
...
Also trimming trailing whitespace
2014-11-09 10:49:31 -06:00
Geoff Bourne
5557f91c79
Adding image download and scaling logic for enhancement #6
2014-11-09 16:27:05 +00:00
Mike Ryan
9fe8d6cca6
Use 'exec' syntax, fix signal handling
...
- Fix to allow signals to pass into the container, properly.
'docker stop ...' was resorting to SIGKILL to stop the container,
which results in data loss. This change switches CMD to 'exec' mode,
ensuring signals make their way to the java process so that things
shut down properly.
2014-11-01 18:17:15 -05:00
Mike Ryan
4ff077f151
Drop privileges before starting server
...
- Create 'minecraft' user account within image.
- Drop to 'minecraft' user before starting server.
2014-11-01 15:35:36 -05:00
Geoff Bourne
5d3845a9ba
Added note about multiple containers
2014-09-28 16:48:44 -05:00
Geoff Bourne
b952ee6fdd
Describe existing LEVEL option and fix typos in -v section
2014-09-28 16:27:03 -05:00
Geoff Bourne
8035aa5f69
Fixed some typos in the README
2014-09-25 16:51:54 -05:00
Geoff Bourne
84521eca53
[minecraft-server] General info about Docker port mappings and container naming
2014-09-20 15:54:23 -05:00
Geoff Bourne
77541a9689
Added support adding 'op' users
...
* Non-destructive MOTD setting
2014-09-20 14:10:48 +00:00
Geoff Bourne
7d8429ef0a
Allowing for pre-existing eula.txt
...
Adding memory settings info to README
2014-09-08 02:32:55 +00:00
Geoff Bourne
f85240898d
Added support for Minecraft server EULA and update default to 1.8
2014-09-07 23:18:20 +00:00